Browse Source

* fixed heaptrc for win64

git-svn-id: trunk@3122 -
florian 19 years ago
parent
commit
0a1275dcf7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      rtl/inc/heaptrc.pp

+ 2 - 2
rtl/inc/heaptrc.pp

@@ -1090,7 +1090,7 @@ begin
      end;
      end;
 end;
 end;
 
 
-{$ifdef win32}
+{$if defined(win32) or defined(win64)}
    function GetEnvironmentStrings : pchar; stdcall;
    function GetEnvironmentStrings : pchar; stdcall;
      external 'kernel32' name 'GetEnvironmentStringsA';
      external 'kernel32' name 'GetEnvironmentStringsA';
    function FreeEnvironmentStrings(p : pchar) : longbool; stdcall;
    function FreeEnvironmentStrings(p : pchar) : longbool; stdcall;
@@ -1118,7 +1118,7 @@ begin
      end;
      end;
    FreeEnvironmentStrings(p);
    FreeEnvironmentStrings(p);
 end;
 end;
-{$else win32}
+{$else defined(win32) or defined(win64)}
 
 
 {$ifdef wince}
 {$ifdef wince}
 Function GetEnv(P:string):Pchar;
 Function GetEnv(P:string):Pchar;