annotate include/SDL_name.h @ 3965:19d708301fab SDL-1.2

Make sure __inline__ isn't defined before #defining it, since some compilers (like Sun Studio) have this as a predefined macro. Fixes Bugzilla #434.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 15 Jun 2007 07:19:05 +0000
parents d2d48e10f370
children
rev   line source
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_ */