Browse Source

* Fixed cycling with 2.4.4 after r19707 (2.4.4 does not define FPC_HAS_FEATURE_RESOURCES, so related stuff is not compiled)

git-svn-id: trunk@19711 -
sergei 13 years ago
parent
commit
e62cd71a2f
1 changed files with 4 additions and 0 deletions
  1. 4 0
      rtl/objpas/sysutils/sysutils.inc

+ 4 - 0
rtl/objpas/sysutils/sysutils.inc

@@ -299,7 +299,11 @@ type
   TExceptMapEntry=record
   TExceptMapEntry=record
     code: byte;
     code: byte;
     cls:  ExceptClass;
     cls:  ExceptClass;
+{$IFDEF FPC_HAS_FEATURE_RESOURCES}  // This is necessary for 2.4.4, which does not have reasources as a separate feature
     msg:  PResStringRec;
     msg:  PResStringRec;
+{$else FPC_HAS_FEATURE_RESOURCES}
+    msg:  PString;
+{$endif FPC_HAS_FEATURE_RESOURCES}
   end;
   end;
 
 
 const
 const