Browse Source

- partial fix for Mantis #37253: use SOCKADDR_STORAGE provided by the WinSock2 unit (which also has the correct size)

git-svn-id: trunk@45693 -
svenbarth 5 years ago
parent
commit
25dc029d6d
1 changed files with 0 additions and 8 deletions
  1. 0 8
      packages/winunits-base/src/httpapi.pp

+ 0 - 8
packages/winunits-base/src/httpapi.pp

@@ -73,14 +73,6 @@ interface
 
 
 {$ENDIF}
 {$ENDIF}
 
 
-  type
-    SOCKADDR_STORAGE = record
-      ss_family: Int16;
-      __ss_pad1: array[0..47] of Byte;
-      __ss_align: Int64;
-      __ss_pad2: array[0..64] of Byte;
-    end;
-
   const
   const
     HTTP_INITIALIZE_SERVER = $00000001;    
     HTTP_INITIALIZE_SERVER = $00000001;    
     HTTP_INITIALIZE_CONFIG = $00000002;    
     HTTP_INITIALIZE_CONFIG = $00000002;