equal
deleted
inserted
replaced
35 |
35 |
36 #ifdef __linux__ |
36 #ifdef __linux__ |
37 #include <pthread.h> |
37 #include <pthread.h> |
38 /* Also defined in net/linux_close.c */ |
38 /* Also defined in net/linux_close.c */ |
39 #define INTERRUPT_SIGNAL (__SIGRTMAX - 2) |
39 #define INTERRUPT_SIGNAL (__SIGRTMAX - 2) |
40 #elif _AIX |
40 #elif defined(_AIX) |
41 #include <pthread.h> |
41 #include <pthread.h> |
42 /* Also defined in net/aix_close.c */ |
42 /* Also defined in net/aix_close.c */ |
43 #define INTERRUPT_SIGNAL (SIGRTMAX - 1) |
43 #define INTERRUPT_SIGNAL (SIGRTMAX - 1) |
44 #elif __solaris__ |
44 #elif defined(__solaris__) |
45 #include <thread.h> |
45 #include <thread.h> |
46 #define INTERRUPT_SIGNAL (SIGRTMAX - 2) |
46 #define INTERRUPT_SIGNAL (SIGRTMAX - 2) |
47 #elif _ALLBSD_SOURCE |
47 #elif defined(_ALLBSD_SOURCE) |
48 #include <pthread.h> |
48 #include <pthread.h> |
49 /* Also defined in net/bsd_close.c */ |
49 /* Also defined in net/bsd_close.c */ |
50 #define INTERRUPT_SIGNAL SIGIO |
50 #define INTERRUPT_SIGNAL SIGIO |
51 #else |
51 #else |
52 #error "missing platform-specific definition here" |
52 #error "missing platform-specific definition here" |