mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 01:29:19 +02:00
* fix
This commit is contained in:
parent
7508a733c1
commit
089374ee60
@ -29,7 +29,7 @@ Var P : Pchar;
|
|||||||
|
|
||||||
begin
|
begin
|
||||||
// Linux version returns pchar.
|
// Linux version returns pchar.
|
||||||
p:={$ifdef ver1_0}Linux{$else}BaseUnix{$endif}.fpgetenv(EnvVar);
|
p:={$ifdef ver1_0}Linux.getenv{$else}BaseUnix.fpgetenv{$endif}(EnvVar);
|
||||||
if P<>nil then
|
if P<>nil then
|
||||||
getenv:=strpas(p)
|
getenv:=strpas(p)
|
||||||
else
|
else
|
||||||
@ -38,7 +38,10 @@ end;
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.6 2003-09-20 12:38:29 marco
|
Revision 1.7 2003-09-20 20:23:08 marco
|
||||||
|
* fix
|
||||||
|
|
||||||
|
Revision 1.6 2003/09/20 12:38:29 marco
|
||||||
* FCL now compiles for FreeBSD with new 1.1. Now Linux.
|
* FCL now compiles for FreeBSD with new 1.1. Now Linux.
|
||||||
|
|
||||||
Revision 1.5 2002/09/07 15:15:29 peter
|
Revision 1.5 2002/09/07 15:15:29 peter
|
||||||
|
Loading…
Reference in New Issue
Block a user