Mercurial > sdl-ios-xcode
diff src/loadso/macosx/SDL_sysloadso.c @ 1635:92947e3a18db
Make sure code is only compiled if the appropriate subsystem is enabled
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 14 Apr 2006 04:46:47 +0000 |
parents | 993ef9ff4688 |
children | 9f59d4c5aaea |
line wrap: on
line diff
--- a/src/loadso/macosx/SDL_sysloadso.c Fri Apr 14 03:56:31 2006 +0000 +++ b/src/loadso/macosx/SDL_sysloadso.c Fri Apr 14 04:46:47 2006 +0000 @@ -21,6 +21,8 @@ */ #include "SDL_config.h" +#ifdef SDL_LOADSO_DLCOMPAT + /* Please note that dlcompat apparently ships in current Mac OS X versions * as a system library that provides compatibility with the Unix "dlopen" * interface. In order to allow SDL to work on older OS X releases and also @@ -1399,3 +1401,4 @@ } } +#endif /* SDL_LOADSO_DLCOMPAT */