diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-11-11 20:04:17 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-11-11 20:04:17 +0000 |
commit | d1e785de440987c1663f59ab2f8fee605a752feb (patch) | |
tree | 41124a1a2d1f7301e67c7e91cc45728d04cfea1f /src/lib/JEDI-SDL/SDL/Pas/jedi-sdl.inc | |
parent | be8d1f265179826c6d189019298e88675b12210f (diff) | |
download | usdx-d1e785de440987c1663f59ab2f8fee605a752feb.tar.gz usdx-d1e785de440987c1663f59ab2f8fee605a752feb.tar.xz usdx-d1e785de440987c1663f59ab2f8fee605a752feb.zip |
- {$PACKENUM 4} and {$MINENUMSIZE 4} added for C compatible 4 byte enums
- SDL_WM_SetIcon: parameter mask must be PUint8, not Uint8
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1514 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/lib/JEDI-SDL/SDL/Pas/jedi-sdl.inc')
-rw-r--r-- | src/lib/JEDI-SDL/SDL/Pas/jedi-sdl.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/JEDI-SDL/SDL/Pas/jedi-sdl.inc b/src/lib/JEDI-SDL/SDL/Pas/jedi-sdl.inc index 9cc30e1d..fed972b5 100644 --- a/src/lib/JEDI-SDL/SDL/Pas/jedi-sdl.inc +++ b/src/lib/JEDI-SDL/SDL/Pas/jedi-sdl.inc @@ -310,6 +310,7 @@ {$IFDEF Delphi} {$DEFINE Windows} {$DEFINE USE_STDCALL} + {$MINENUMSIZE 4} //{$ALIGN ON} {$ENDIF Delphi} @@ -317,6 +318,7 @@ {$MODE Delphi} { use Delphi compatibility mode } {$H+} {$PACKRECORDS C} // Added for record + {$PACKENUM 4} // Use 4-byte enums {$MACRO ON} // Added For OpenGL {$DEFINE Delphi} {$DEFINE UseAT} |