include/SDL_name.h
author Sam Lantinga <slouken@libsdl.org>
Tue, 21 Feb 2006 08:46:50 +0000
changeset 1402 d910939febfa
parent 294 d2d48e10f370
child 7191 75360622e65f
permissions -rw-r--r--
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.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
293
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     1
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     2
#ifndef _SDLname_h_
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     3
#define _SDLname_h_
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     4
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     5
#if defined(__STDC__) || defined(__cplusplus)
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     6
#define NeedFunctionPrototypes 1
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     7
#endif
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     8
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     9
#define SDL_NAME(X)	SDL_##X
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    10
585a7e1285ae *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    11
#endif /* _SDLname_h_ */