Browse Source

* fix for bug4279, added stdcall

git-svn-id: trunk@863 -
marco 20 years ago
parent
commit
31a0752a37
1 changed files with 2 additions and 2 deletions
  1. 2 2
      fcl/win32/custapp.inc

+ 2 - 2
fcl/win32/custapp.inc

@@ -13,8 +13,8 @@
 
  **********************************************************************}
 
-function GetEnvironmentStrings : pchar; external 'kernel32' name 'GetEnvironmentStringsA';
-function FreeEnvironmentStrings(p : pchar) : longbool; external 'kernel32' name 'FreeEnvironmentStringsA';
+function GetEnvironmentStrings : pchar; stdcall; external 'kernel32' name 'GetEnvironmentStringsA';
+function FreeEnvironmentStrings(p : pchar) : longbool; stdcall; external 'kernel32' name 'FreeEnvironmentStringsA';
 
 Procedure SysGetEnvironmentList(List : TStrings;NamesOnly : Boolean);