Skip to content

Latest commit

 

History

History
56 lines (48 loc) · 2.01 KB

SDL_loadso.c

File metadata and controls

56 lines (48 loc) · 2.01 KB
 
1
2
/*
SDL - Simple DirectMedia Layer
Feb 1, 2006
Feb 1, 2006
3
Copyright (C) 1997-2006 Sam Lantinga
4
5
This library is free software; you can redistribute it and/or
Feb 1, 2006
Feb 1, 2006
6
modify it under the terms of the GNU Lesser General Public
7
License as published by the Free Software Foundation; either
Feb 1, 2006
Feb 1, 2006
8
version 2.1 of the License, or (at your option) any later version.
9
10
11
12
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Feb 1, 2006
Feb 1, 2006
13
Lesser General Public License for more details.
14
Feb 1, 2006
Feb 1, 2006
15
16
17
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
19
20
21
22
23
24
25
Sam Lantinga
slouken@libsdl.org
*/
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent library loading routines */
Jan 6, 2006
Jan 6, 2006
26
27
28
29
30
31
32
33
34
/*
* Mac OS X >= 10.3 are guaranteed to have dlopen support in a system
* framework, which means we don't have to roll our own on non-PowerPC
* systems to guarantee compatibility (x86 Macs started at 10.4). --ryan.
*/
#if ( (defined(MACOSX)) && (!defined(__POWERPC__)) )
# define USE_DLOPEN 1
#endif
Nov 17, 2005
Nov 17, 2005
35
36
37
38
/* !!! FIXME: includes so I don't have to update all the project files... */
#define SDL_INTERNAL_BUILDING_LOADSO 1
#if defined(USE_DUMMY_LOADSO)
# include "loadso/dummy/SDL_loadso.c"
Jan 6, 2006
Jan 6, 2006
39
40
#elif defined(USE_DLOPEN)
# include "loadso/dlopen/SDL_loadso.c"
Nov 17, 2005
Nov 17, 2005
41
42
43
44
#elif defined(MACOSX)
# include "loadso/macosx/SDL_loadso.c"
#elif defined(macintosh)
# include "loadso/macos/SDL_loadso.c"
Sep 29, 2005
Sep 29, 2005
45
#elif defined(WIN32) || defined(_WIN32_WCE)
Nov 17, 2005
Nov 17, 2005
46
# include "loadso/windows/SDL_loadso.c"
47
#elif defined(__BEOS__)
Nov 17, 2005
Nov 17, 2005
48
# include "loadso/beos/SDL_loadso.c"
Jul 16, 2003
Jul 16, 2003
49
#elif defined(__MINT__) && defined(ENABLE_LDG)
Nov 17, 2005
Nov 17, 2005
50
# include "loadso/mint/SDL_loadso.c"
Nov 23, 2005
Nov 23, 2005
51
52
#elif defined(__OS2__)
# include "loadso/os2/SDL_loadso.c"
53
#else
Nov 17, 2005
Nov 17, 2005
54
# include "loadso/dummy/SDL_loadso.c"
55
#endif /* system type */