1
{******************************************************************************}
3
{ Borland Delphi SDL - Simple DirectMedia Layer }
4
{ Global Conditional Definitions for JEDI-SDL cross-compilation }
7
{ The initial developer of this Pascal code was : }
8
{ Prof. Abimbola Olowofoyeku <http://www.bigfoot.com/~African_Chief/> }
10
{ Portions created by Prof. Abimbola Olowofoyeku are }
11
{ Copyright (C) 2000 - 2100 Prof. Abimbola Olowofoyeku. }
16
{ Prof. Abimbola Olowofoyeku <http://www.bigfoot.com/~African_Chief/> }
17
{ Dominqiue Louis <Dominique@SavageSoftware.com.au> }
20
{ Joint Endeavour of Delphi Innovators ( Project JEDI ) }
22
{ You may retrieve the latest version of this file at the Project }
23
{ JEDI home page, located at http://delphi-jedi.org }
25
{ The contents of this file are used with permission, subject to }
26
{ the Mozilla Public License Version 1.1 (the "License"); you may }
27
{ not use this file except in compliance with the License. You may }
28
{ obtain a copy of the License at }
29
{ http://www.mozilla.org/MPL/MPL-1.1.html }
31
{ Software distributed under the License is distributed on an }
32
{ "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or }
33
{ implied. See the License for the specific language governing }
34
{ rights and limitations under the License. }
38
{ This code has been copied from... }
39
{ Global Conditional Definitions for Chief's UNZIP package }
40
{ By Prof. Abimbola Olowofoyeku (The African Chief) }
41
{ http://www.bigfoot.com/~African_Chief/ }
46
{ The SDL Runtime libraris on Win32 : SDL.dll on Linux : libSDL.so }
47
{ They are available from... }
48
{ http://www.libsdl.org . }
58
{ 2003-04-03 DL - Initial addition }
60
{ 2003-04-07 DL - Added Macro ON derective for FPC and OpenGL and removed }
61
{ WEAKPACKAGE derective. WEAKPACKAGE should be set when }
64
{ 2003-04-23 - DL : under instruction from Alexey Barkovoy I have added }
65
{ better TMT Pascal support and under instruction }
66
{ from Prof. Abimbola Olowofoyeku (The African Chief) }
67
{ I have added better Gnu Pascal support }
69
{ 2004-01-19 - DL : Under instruction from Marco van de Voort, I have added }
70
{ Better FPC support for FreeBSD. }
72
{******************************************************************************}
74
{.$define Debug} { uncomment for debugging }
83
{$F+,D+,Q-,L+,R+,I-,S+,Y+,A+}
97
{$DEFINE Delphi} {Delphi 7.x}
99
{$WARN UNSAFE_TYPE OFF} {Disable warning for unsafe types in Delphi 7}
106
{$DEFINE Delphi} {Delphi 8??}
112
{$DEFINE Delphi} {Delphi 9??}
131
{$IFDEF VirtualPascal} { Virtual Pascal 2.x }
132
{$DEFINE Delphi} { Use Delphi Syntax }
135
{$ENDIF VirtualPascal}
139
{$DEFINE USE_STDCALL}
143
{$MODE Delphi} { use Delphi compatibility mode }
145
{$PACKRECORDS 4} // Added for record
146
{$MACRO ON} // Added For OpenGL
166
{$K+} {smart callbacks}
181
{$DEFINE cdecl attribute(cdecl)}
190
{$DEFINE USE_STDCALL}
203
{$A+} // Word alignment data
204
{$OA+} // Objects and structures align
208
{$H-} { no long strings, please! }
213
{$ENDIF} { use 16-bit assembler! }
216
{ ************************** dos/dos-like platforms **************}
225
{$DEFINE Can_Use_DLL}
229
{$DEFINE Can_Use_DLL}
233
{$DEFINE Can_Use_DLL}
237
{$DEFINE Can_Use_DLL}