소스 검색

+ 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}