ソースを参照

+ enable the code page aware compiler messages for all unices

git-svn-id: trunk@36451 -
nickysn 8 年 前
コミット
408b7a8807
2 ファイル変更2 行追加1 行削除
  1. 1 0
      compiler/compiler.pas
  2. 1 1
      compiler/fpcdefs.inc

+ 1 - 0
compiler/compiler.pas

@@ -39,6 +39,7 @@ uses
 {$if defined(unix) and (FPC_FULLVERSION>20700)}
   { system code page stuff for unix }
   unixcp,
+  fpwidestring,
 {$endif}
 {$IFNDEF USE_FAKE_SYSUTILS}
   sysutils,math,

+ 1 - 1
compiler/fpcdefs.inc

@@ -23,7 +23,7 @@
   forces code page conversion from the codepage, specified in the .msg file to
   CP_ACP, before printing the message to the console. Enable this for host
   platforms, that have code page conversion support in their RTL. }
-{$if defined(win32) or defined(win64)}
+{$if defined(win32) or defined(win64) or defined(unix)}
   {$define cpawaremessages}
 {$endif}