Changeset 21865 for branches/gcc-kmk/src/iphlpapi/iphlwrap.h
- Timestamp:
 - Dec 8, 2011, 2:32:54 PM (14 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  branches/gcc-kmk/src/iphlpapi/iphlwrap.h (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
branches/gcc-kmk/src/iphlpapi/iphlwrap.h
r21720 r21865 8 8 #include <netinet/tcp.h> 9 9 #include <nerrno.h> 10 11 int _System os2_ioctl (int, unsigned long, char *, int);12 10 13 11 inline int _os2_ioctl (int a, unsigned long b, char *c, int d) … … 23 21 24 22 #undef os2_ioctl 25 #define os2_ioctl _os2_ioctl 26 27 inline int _ioctl(int a, int b, char *c, int d) 28 { 29 int yyrc; 30 USHORT sel = RestoreOS2FS(); 31 32 yyrc = ioctl(a, b, c, d); 33 SetFS(sel); 34 35 return yyrc; 36 } 37 38 #undef ioctl 39 #define ioctl _ioctl 23 #define ioctl _os2_ioctl 40 24 41 25 inline int _res_init(void)  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  