comparison src/SDL_loadso.c @ 1236:ed252764287a

Minor bit of debug output added to dynamic X11 code.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 06 Jan 2006 20:57:59 +0000
parents 173c063d4f55
children c9b51268668f
comparison
equal deleted inserted replaced
1235:f60f6f4ffc6f 1236:ed252764287a
26 #endif 26 #endif
27 27
28 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 28 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
29 /* System dependent library loading routines */ 29 /* System dependent library loading routines */
30 30
31 /*
32 * Mac OS X >= 10.3 are guaranteed to have dlopen support in a system
33 * framework, which means we don't have to roll our own on non-PowerPC
34 * systems to guarantee compatibility (x86 Macs started at 10.4). --ryan.
35 */
36 #if ( (defined(MACOSX)) && (!defined(__POWERPC__)) )
37 # define USE_DLOPEN 1
38 #endif
39
31 /* !!! FIXME: includes so I don't have to update all the project files... */ 40 /* !!! FIXME: includes so I don't have to update all the project files... */
32 #define SDL_INTERNAL_BUILDING_LOADSO 1 41 #define SDL_INTERNAL_BUILDING_LOADSO 1
33 #if defined(USE_DUMMY_LOADSO) 42 #if defined(USE_DUMMY_LOADSO)
34 # include "loadso/dummy/SDL_loadso.c" 43 # include "loadso/dummy/SDL_loadso.c"
44 #elif defined(USE_DLOPEN)
45 # include "loadso/dlopen/SDL_loadso.c"
35 #elif defined(MACOSX) 46 #elif defined(MACOSX)
36 # include "loadso/macosx/SDL_loadso.c" 47 # include "loadso/macosx/SDL_loadso.c"
37 #elif defined(macintosh) 48 #elif defined(macintosh)
38 # include "loadso/macos/SDL_loadso.c" 49 # include "loadso/macos/SDL_loadso.c"
39 #elif defined(USE_DLOPEN)
40 # include "loadso/dlopen/SDL_loadso.c"
41 #elif defined(WIN32) || defined(_WIN32_WCE) 50 #elif defined(WIN32) || defined(_WIN32_WCE)
42 # include "loadso/windows/SDL_loadso.c" 51 # include "loadso/windows/SDL_loadso.c"
43 #elif defined(__BEOS__) 52 #elif defined(__BEOS__)
44 # include "loadso/beos/SDL_loadso.c" 53 # include "loadso/beos/SDL_loadso.c"
45 #elif defined(__MINT__) && defined(ENABLE_LDG) 54 #elif defined(__MINT__) && defined(ENABLE_LDG)