Browse Source

* type aliases for improved compatibility

git-svn-id: trunk@5350 -
Tomas Hajny 18 years ago
parent
commit
d0b95a7841
1 changed files with 4 additions and 0 deletions
  1. 4 0
      rtl/os2/so32dll.pas

+ 4 - 0
rtl/os2/so32dll.pas

@@ -1026,11 +1026,15 @@ type
     fd_count  :  Word;                        // how many are SET?
     fd_count  :  Word;                        // how many are SET?
     fd_array  :  array[0..FD_SETSIZE-1] of Longint;   // an array of SOCKETs
     fd_array  :  array[0..FD_SETSIZE-1] of Longint;   // an array of SOCKETs
   end;
   end;
+  TFDSet = FD_Set;
+  PFDSet = ^TFDSet;
 
 
   timeval = record
   timeval = record
     tv_sec   :  Longint; // Number of seconds
     tv_sec   :  Longint; // Number of seconds
     tv_usec  :  Longint; // Number of microseconds
     tv_usec  :  Longint; // Number of microseconds
   end;
   end;
+  TTimeVal = TimeVal;
+  PTimeVal = ^TTimeVal;
 
 
 {
 {
  * ioctl & ip trace support
  * ioctl & ip trace support