Browse Source

* fixed ppc64 compilation

git-svn-id: branches/fpc_2_3@6409 -
Jonas Maebe 18 years ago
parent
commit
eec22deed4
1 changed files with 4 additions and 4 deletions
  1. 4 4
      compiler/pdecvar.pas

+ 4 - 4
compiler/pdecvar.pas

@@ -1123,15 +1123,15 @@ implementation
          uniondef : trecorddef;
          uniondef : trecorddef;
          hintsymoptions : tsymoptions;
          hintsymoptions : tsymoptions;
          semicoloneaten: boolean;
          semicoloneaten: boolean;
-{$ifdef powerpc}
+{$if defined(powerpc) or defined(powerpc64)}
          tempdef: tdef;
          tempdef: tdef;
          is_first_field: boolean;
          is_first_field: boolean;
-{$endif powerpc}
+{$endif powerpc or powerpc64}
       begin
       begin
          recst:=tabstractrecordsymtable(symtablestack.top);
          recst:=tabstractrecordsymtable(symtablestack.top);
-{$ifdef powerpc}
+{$if defined(powerpc) or defined(powerpc64)}
          is_first_field := true;
          is_first_field := true;
-{$endif powerpc}
+{$endif powerpc or powerpc64}
          old_current_object_option:=current_object_option;
          old_current_object_option:=current_object_option;
          { all variables are public if not in a object declaration }
          { all variables are public if not in a object declaration }
          if not(vd_object in options) then
          if not(vd_object in options) then