comparison src/loadso/win32/SDL_sysloadso.c @ 1402:d910939febfa

Use consistent identifiers for the various platforms we support. Make sure every source file includes SDL_config.h, so the proper system headers are chosen.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 21 Feb 2006 08:46:50 +0000
parents c0a74f199ecf
children bb6839704ed6
comparison
equal deleted inserted replaced
1401:1819fd069e89 1402:d910939febfa
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 18
19 Sam Lantinga 19 Sam Lantinga
20 slouken@libsdl.org 20 slouken@libsdl.org
21 */ 21 */
22 #include "SDL_config.h"
22 23
23 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 24 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
24 /* System dependent library loading routines */ 25 /* System dependent library loading routines */
25 26
26 #include "SDL_windows.h" 27 #include "SDL_windows.h"
53 } 54 }
54 55
55 SDL_free(sofile_t); 56 SDL_free(sofile_t);
56 SDL_free(errbuf_t); 57 SDL_free(errbuf_t);
57 58
58 #else /*if defined(WIN32)*/ 59 #else /*if defined(__WIN32__)*/
59 char errbuf[512]; 60 char errbuf[512];
60 61
61 handle = (void *)LoadLibrary(sofile); 62 handle = (void *)LoadLibrary(sofile);
62 63
63 /* Generate an error message if all loads failed */ 64 /* Generate an error message if all loads failed */