annotate include/SDL_name.h @ 3957:b1d5b56aa549 SDL-1.2

Date: Mon, 4 Jun 2007 06:17:59 +0000 (UTC) From: George Gensure <werkt0@gmail.com> Subject: [SDL] error removal patch for SDL_x11dyn.c I found that calling SDL_GetError when an error hasn't necessarily occurred is still reporting problems from loadso regarding dynamic functions in X11. I've added the following to my local copy to avoid revealing the 'many library lookup' approach adopted by x11dyn.c:
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 13 Jun 2007 07:54:10 +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_ */