aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/JEDI-SDL/SDL/Pas
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-09-28 17:47:04 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-09-28 17:47:04 +0000
commit26de26ea9cb80fe303b93fbeb535bae241c2222f (patch)
treea50a09ddf72b46bb3a0c5e46b5eca1f2d2bc18fe /src/lib/JEDI-SDL/SDL/Pas
parente5222f99929e0a893fca4ea0ffe08c3bb90fd5c3 (diff)
downloadusdx-26de26ea9cb80fe303b93fbeb535bae241c2222f.tar.gz
usdx-26de26ea9cb80fe303b93fbeb535bae241c2222f.tar.xz
usdx-26de26ea9cb80fe303b93fbeb535bae241c2222f.zip
one more version of fixing the endian problem in SDL
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1424 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/lib/JEDI-SDL/SDL/Pas')
-rw-r--r--src/lib/JEDI-SDL/SDL/Pas/jedi-sdl.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/JEDI-SDL/SDL/Pas/jedi-sdl.inc b/src/lib/JEDI-SDL/SDL/Pas/jedi-sdl.inc
index 450c1731..9cc30e1d 100644
--- a/src/lib/JEDI-SDL/SDL/Pas/jedi-sdl.inc
+++ b/src/lib/JEDI-SDL/SDL/Pas/jedi-sdl.inc
@@ -424,10 +424,8 @@
{$IFDEF Delphi}
-{$IFNDEF FPC_BIG_ENDIAN}
{$DEFINE IA32}
{$ENDIF}
-{$ENDIF}
{$IFDEF KYLIX}
{$DEFINE IA32}
@@ -435,6 +433,8 @@
{$IFDEF FPC}
{$IFDEF FPC_LITTLE_ENDIAN}
-{$DEFINE IA32}
-{$ENDIF}
+ {$DEFINE IA32}
+{$ELSE FPC_LITTLE_ENDIAN}
+ {$UNDEF IA32}
+{$ENDIF FPC_LITTLE_ENDIAN}
{$ENDIF}