Parcourir la source

* the size of the FPC_RESSYMBOL pointer must depend on the target
cpu, not the host cpu

git-svn-id: trunk@19687 -

Jonas Maebe il y a 14 ans
Parent
commit
de3a7f0cfd
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      compiler/pmodules.pas

+ 1 - 1
compiler/pmodules.pas

@@ -351,7 +351,7 @@ implementation
           ResourceInfo.concat(Tai_const.Createname('FPC_RESSYMBOL',0))
         else
           { Nil pointer to resource information }
-          {$IFDEF CPU32}
+          {$IFDEF CPU32BIT}
           ResourceInfo.Concat(Tai_const.Create_32bit(0));
           {$ELSE}
           ResourceInfo.Concat(Tai_const.Create_64bit(0));