|
@@ -822,7 +822,7 @@ implementation
|
|
|
****************************************************************************}
|
|
|
|
|
|
function GetEnvPChar(const envname:string):pchar;
|
|
|
- {$ifdef win32}
|
|
|
+ {$ifdef mswindows}
|
|
|
var
|
|
|
s : string;
|
|
|
i,len : longint;
|
|
@@ -833,7 +833,7 @@ implementation
|
|
|
GetEnvPchar:=BaseUnix.fpGetEnv(envname);
|
|
|
{$define GETENVOK}
|
|
|
{$endif}
|
|
|
- {$ifdef win32}
|
|
|
+ {$ifdef mswindows}
|
|
|
GetEnvPchar:=nil;
|
|
|
p:=GetEnvironmentStrings;
|
|
|
hp:=p;
|