fix for delphi
authorbeware <beware@bircd.org>
Thu, 13 Mar 2014 07:10:11 +0000 (07:10 +0000)
committerbeware <beware@bircd.org>
Thu, 13 Mar 2014 07:10:11 +0000 (07:10 +0000)
git-svn-id: file:///svnroot/lcore/trunk@133 b1de8a11-f9be-4011-bde0-cc7ace90066a

pgtypes.inc

index 4f8d2a8e57fdd6efff54e556aa35198477527cd4..6676698192b44febdf8c976a8fa8c1602f2e86ee 100644 (file)
@@ -8,6 +8,13 @@
 {$endif}
  
 
 {$endif}
  
 
-{$ifdef i386}{$define ENDIAN_LITTLE}{$asmmode intel}{$endif}
-{$ifdef cpux64}{$define ENDIAN_LITTLE}{$asmmode intel}{$endif}
+{$ifdef i386}
+{$define ENDIAN_LITTLE}
+{$ifdef fpc}{$asmmode intel}{$endif}
+{$endif}
+
+{$ifdef cpux64}
+{$define ENDIAN_LITTLE}
+{$ifdef fpc}{$asmmode intel}{$endif}
+{$endif}