diff options
Diffstat (limited to 'src/sysselect.h')
| -rw-r--r-- | src/sysselect.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sysselect.h b/src/sysselect.h index 8295aeb8421..4d8a4d0a3a9 100644 --- a/src/sysselect.h +++ b/src/sysselect.h | |||
| @@ -50,6 +50,11 @@ typedef int fd_set; | |||
| 50 | #endif | 50 | #endif |
| 51 | 51 | ||
| 52 | #ifdef MSDOS | 52 | #ifdef MSDOS |
| 53 | /* The above #define for 'select' gets in the way because sysselect.h | ||
| 54 | is included in thread.h, which is included everywhere, and 'select' | ||
| 55 | declared in DJGPP system headers has a signature incompatible with | ||
| 56 | 'pselect', which we emulate in msdos.c. */ | ||
| 57 | #undef select | ||
| 53 | #define pselect sys_select | 58 | #define pselect sys_select |
| 54 | #endif | 59 | #endif |
| 55 | 60 | ||