Browse 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 13 years ago
parent
commit
de3a7f0cfd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/pmodules.pas

+ 1 - 1
compiler/pmodules.pas

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