瀏覽代碼

Avoid double definition of FPBaseName for powerpc cpu target on i386

git-svn-id: trunk@30157 -
pierre 10 年之前
父節點
當前提交
3cd33af823
共有 1 個文件被更改,包括 5 次插入3 次删除
  1. 5 3
      ide/fpconst.pas

+ 5 - 3
ide/fpconst.pas

@@ -55,9 +55,11 @@ const
     {$endif cpu68k}
   {$endif i386}
   {$ifdef SUPPORT_REMOTE}
-      {$define USE_SPECIAL_BASENAME}
-      { this uses PPC_TARGET env. variable from Makefile }
-       FPBaseName = 'fp_'+{$i %PPC_TARGET%};
+      {$ifndef USE_SPECIAL_BASENAME}
+        { this uses PPC_TARGET env. variable from Makefile }
+         FPBaseName = 'fp_'+{$i %PPC_TARGET%};
+        {$define USE_SPECIAL_BASENAME}
+      {$endif ndef USE_SPECIAL_BASENAME}
   {$endif SUPPORT_REMOTE}
 {$endif not USE_FPBASENAME}
 {$ifndef USE_SPECIAL_BASENAME}