pip micro disable piintrospection piwaitevent

PIP_NO_SOCET
This commit is contained in:
2025-10-18 11:20:18 +03:00
parent 4885623492
commit cf89d77981
14 changed files with 506 additions and 459 deletions

View File

@@ -20,7 +20,9 @@
#ifndef PIWAITEVENT_P_H
#define PIWAITEVENT_P_H
#include "pibase.h"
#ifndef MICRO_PIP
# include "pibase.h"
// clang-format off
#ifdef WINDOWS
# include <stdarg.h>
@@ -52,17 +54,18 @@ public:
void * getEvent() const; // WINDOWS only
private:
#ifdef WINDOWS
# ifdef WINDOWS
void * event = nullptr;
#else
# else
int pipe_fd[2] = {0, 0};
fd_set fds[3];
enum {
ReadEnd = 0,
WriteEnd = 1
};
#endif
# endif
};
#endif // MICRO_PIP
#endif // PIWAITEVENT_P_H