diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-05-08 17:57:26 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-05-08 17:57:26 +0000 |
commit | 9aa48684216b0dca926fa7e68a1b843dc1a872ce (patch) | |
tree | b4b62b3ad8c815d048c7e6093f4b952a2086d346 /Game/Code/lib/JEDI-SDL/OpenGL/Pas/glut.pas | |
parent | 0dd7fd1b3a6276a39699a00e72289f264b7fdd4f (diff) | |
download | usdx-9aa48684216b0dca926fa7e68a1b843dc1a872ce.tar.gz usdx-9aa48684216b0dca926fa7e68a1b843dc1a872ce.tar.xz usdx-9aa48684216b0dca926fa7e68a1b843dc1a872ce.zip |
- added the {$H+} switch for FPC (was introduced for the MacOSX before). This will use AnsiString (no length restriction and passed as pointer) instead of ShortString (= array[0..255] of Char). This is the standard in Delphi so we should use it in FPC too. The FPC reference doc states that {$H-} is standard in FPC, but for any reason in my FPC 2.2.0 for win {$H+} is standard. Maybe the reference guide is somewhat outdated, so probably nothing changed because H+ was the default already.
- removed DLL_CDECL from switches.inc and put it directly into the headers (used in bass and freeimage). Libs shouldn't be declared STDCALL or CDECL globally because it depends on how the libs are compiled. For windows, STDCALL and CDECL are possible, so please define this on a per library base.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1069 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/lib/JEDI-SDL/OpenGL/Pas/glut.pas')
0 files changed, 0 insertions, 0 deletions