Changeset 3208
- Timestamp:
- Apr 24, 2007, 11:24:33 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/essentials/dev-lang/perl/os2/os2.c
r3188 r3208 6 6 #define INCL_WINERRORS 7 7 #define INCL_WINSYS 8 #define INCL_EXAPIS 9 #define INCL_EXAPIS_MAPPINGS 8 10 /* These 3 are needed for compile if os2.h includes os2tk.h, not os2emx.h */ 9 11 #define INCL_DOSPROCESS … … 4547 4549 } 4548 4550 4551 #ifndef __KLIBC__ /* libc already checks this. */ 4549 4552 int 4550 4553 fd_ok(int fd) … … 4552 4555 static ULONG max_fh = 0; 4553 4556 4554 #ifndef __KLIBC__4555 4557 if (!(_emx_env & 0x200)) return 1; /* not OS/2. */ 4556 #endif4557 4558 if (fd >= max_fh) { /* Renew */ 4558 4559 LONG delta = 0; … … 4582 4583 return -1; 4583 4584 } 4585 #endif /* !__KLIBC__ */ 4584 4586 4585 4587 #undef tmpnam
Note:
See TracChangeset
for help on using the changeset viewer.