pip micro disable piintrospection piwaitevent
PIP_NO_SOCET
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user