Browse Source

* do not yet map GetCommandLine() to GetCommandLineW() with -dFPC_UNICODE_RTL,
because its result is assigned to the global cmdline variable which is still
a pchar in all cases

git-svn-id: branches/cpstrrtl@25309 -

Jonas Maebe 12 years ago
parent
commit
63e8d0c31c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/win/sysos.inc

+ 1 - 1
rtl/win/sysos.inc

@@ -218,7 +218,7 @@ threadvar
    function GetStdHandle(nStdHandle:DWORD):THANDLE;
      stdcall;external KernelDLL name 'GetStdHandle';
 
-   {$ifdef FPC_UNICODE_RTL}
+   {$ifdef FPC_UNICODE_RTLx}
    { command line/environment functions }
 
    function GetCommandLine : pwidechar;