Browse Source

* Fixed size of apr_off_t for 64-bit systems

git-svn-id: trunk@7029 -
michael 18 years ago
parent
commit
ee4e71fdd3
1 changed files with 4 additions and 0 deletions
  1. 4 0
      packages/base/httpd/httpd-2.0/apr/apr.pas

+ 4 - 0
packages/base/httpd/httpd-2.0/apr/apr.pas

@@ -102,7 +102,11 @@ type
   apr_off_t = Int64;
   apr_off_t = Int64;
   {$ENDIF}
   {$ENDIF}
   {$IFDEF UNIX}
   {$IFDEF UNIX}
+  {$ifdef CPU64}
+  apr_off_t = int64;
+  {$else}
   apr_off_t = Integer;
   apr_off_t = Integer;
+  {$endif}
   {$ENDIF}
   {$ENDIF}
 
 
   apr_int32_t = Integer;
   apr_int32_t = Integer;