Browse Source

* Fixed compilation on some targets. It seems to be a bug in finding variables in expressions like that: {$if sizeof(my_var) = 4}

git-svn-id: trunk@9516 -
yury 17 years ago
parent
commit
e7918b9411
1 changed files with 4 additions and 2 deletions
  1. 4 2
      rtl/inc/system.inc

+ 4 - 2
rtl/inc/system.inc

@@ -13,9 +13,11 @@
  **********************************************************************}
 
 {$ifdef FPC_OBJFPC_EXTENDED_IF}
-  {$if High(errorcode)<>maxExitCode}
+//  {$if High(errorcode)<>maxExitCode}
     {$define FPC_LIMITED_EXITCODE}
-  {$endif}
+//  {$endif}
+{$else}
+  {$define FPC_LIMITED_EXITCODE}
 {$endif FPC_OBJFPC_EXTENDED_IF}
 
 {****************************************************************************