Browse Source

* Do not define FPC_HAS_UNDERSCORE_PREFIX for i386 OpenBSD anymore

git-svn-id: trunk@19504 -
pierre 14 years ago
parent
commit
5f77ff8a18
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tests/test/lcpref.inc

+ 4 - 0
tests/test/lcpref.inc

@@ -12,11 +12,15 @@
 {$endif}
 
 { From i_bsd.pas, all i386 but freebsd seem to have underscore prefixes }
+{ This is not true anyore at least for OpenBSD 4.9 PM 2011-10-10}
 {$ifdef bsd}
   {$ifdef cpui386}
     {$ifndef freebsd}
       {$define FPC_HAS_UNDERSCORE_PREFIX}
     {$endif}
+    {$ifdef openbsd}
+      {$undef FPC_HAS_UNDERSCORE_PREFIX}
+    {$endif}
   {$endif}
   {$ifdef darwin}
     {$define FPC_HAS_UNDERSCORE_PREFIX}