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