Explorar o código

Addendum to 23746: use FPC_FULLVERSION instead of FPC_VERSION/FPC_RELEASE

git-svn-id: trunk@23747 -
svenbarth %!s(int64=12) %!d(string=hai) anos
pai
achega
364a874623
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      compiler/compiler.pas

+ 2 - 2
compiler/compiler.pas

@@ -33,7 +33,7 @@ uses
 {$ifdef WATCOM}
   emu387,
 {$endif WATCOM}
-{$if defined(unix) and ((FPC_VERSION>2) or (FPC_RELEASE>6))}
+{$if defined(unix) and (FPC_FULLVERSION>20700)}
   { system code page stuff for unix }
   unixcp,
 {$endif}
@@ -177,7 +177,7 @@ procedure InitCompiler(const cmd:TCmdStr);
 begin
   if CompilerInited then
    DoneCompiler;
-{$if defined(unix) and ((FPC_VERSION>2) or (FPC_RELEASE>6))}
+{$if defined(unix) and (FPC_FULLVERSION>20700)}
   { Set default code page for ansistrings on unix-like systems }
   DefaultSystemCodePage:=GetSystemCodePage;
 {$endif}