src/SDL_loadso.c
author Ryan C. Gordon <icculus@icculus.org>
Thu, 17 Nov 2005 03:15:05 +0000
changeset 1173 e9cf8c1b4590
parent 1152 51a8702d8ecd
child 1190 173c063d4f55
permissions -rw-r--r--
Split up src/SDL_loadso.c into platform directories.
slouken@294
     1
/*
slouken@294
     2
    SDL - Simple DirectMedia Layer
slouken@769
     3
    Copyright (C) 1997-2004 Sam Lantinga
slouken@294
     4
slouken@294
     5
    This library is free software; you can redistribute it and/or
slouken@294
     6
    modify it under the terms of the GNU Library General Public
slouken@294
     7
    License as published by the Free Software Foundation; either
slouken@294
     8
    version 2 of the License, or (at your option) any later version.
slouken@294
     9
slouken@294
    10
    This library is distributed in the hope that it will be useful,
slouken@294
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@294
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@294
    13
    Library General Public License for more details.
slouken@294
    14
slouken@294
    15
    You should have received a copy of the GNU Library General Public
slouken@294
    16
    License along with this library; if not, write to the Free
slouken@294
    17
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
slouken@294
    18
slouken@294
    19
    Sam Lantinga
slouken@294
    20
    slouken@libsdl.org
slouken@294
    21
*/
slouken@294
    22
slouken@294
    23
#ifdef SAVE_RCSID
slouken@294
    24
static char rcsid =
slouken@294
    25
 "@(#) $Id$";
slouken@294
    26
#endif
slouken@294
    27
slouken@294
    28
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
slouken@294
    29
/* System dependent library loading routines                           */
slouken@294
    30
icculus@1173
    31
/* !!! FIXME: includes so I don't have to update all the project files... */
icculus@1173
    32
#define SDL_INTERNAL_BUILDING_LOADSO 1
icculus@1173
    33
#if defined(USE_DUMMY_LOADSO)
icculus@1173
    34
# include "loadso/dummy/SDL_loadso.c"
icculus@1173
    35
#elif defined(MACOSX)
icculus@1173
    36
# include "loadso/macosx/SDL_loadso.c"
icculus@1173
    37
#elif defined(macintosh)
icculus@1173
    38
# include "loadso/macos/SDL_loadso.c"
icculus@1173
    39
#elif defined(USE_DLOPEN)
icculus@1173
    40
# include "loadso/dlopen/SDL_loadso.c"
icculus@1152
    41
#elif defined(WIN32) || defined(_WIN32_WCE)
icculus@1173
    42
# include "loadso/windows/SDL_loadso.c"
slouken@294
    43
#elif defined(__BEOS__)
icculus@1173
    44
# include "loadso/beos/SDL_loadso.c"
patmandin@651
    45
#elif defined(__MINT__) && defined(ENABLE_LDG)
icculus@1173
    46
# include "loadso/mint/SDL_loadso.c"
slouken@294
    47
#else
icculus@1173
    48
# include "loadso/dummy/SDL_loadso.c"
slouken@294
    49
#endif /* system type */
slouken@294
    50