Skip to content

Commit

Permalink
Fixed dynamic X11 for now, I think.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 1, 2006
1 parent 1e5e68b commit 6b3e41c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/video/x11/SDL_x11dyn.h
Expand Up @@ -69,10 +69,7 @@ typedef int (*SDL_X11_XSetExtensionErrorHandlerType)(Display *,char *,char *);
#define _XReply p_XReply
#define _XSend p_XSend
#define XFree pXFree

#if !defined(__osf__) || defined(X11_DYNAMIC)
#define _XData32 p_XData32
#endif

#if defined(__osf__) && defined(X11_DYNAMIC)
#define _SmtBufferOverflow p_SmtBufferOverflow
Expand Down
4 changes: 2 additions & 2 deletions src/video/x11/SDL_x11sym.h
Expand Up @@ -139,12 +139,12 @@ SDL_X11_SYM(1,unsigned long,_XSetLastRequestRead,(Display*,xGenericReply*))
* These don't exist in 32-bit versions and are removed by Xlib macros, but
* 64+ bit systems will use them.
*/
#if defined(LONG64) && !defined(__osf__) || defined(X11_DYNAMIC)
#if defined(LONG64) && !defined(__osf__)
SDL_X11_SYM(1,int,_XData32,(Display *dpy,register long *data,unsigned len))
SDL_X11_SYM(1,void,_XRead32,(Display *dpy,register long *data,long len))
#endif

#if defined(__osf__) && defined(X11_DYNAMIC)
#if defined(__osf__)
SDL_X11_SYM(1,void,_SmtBufferOverflow,(Display *dpy,register smtDisplayPtr))
SDL_X11_SYM(1,void,_SmtIpError,(Display *dpy,register smtDisplayPtr, int))
SDL_X11_SYM(1,int,ipAllocateData,(ChannelPtr, IPCard, IPDataPtr *))
Expand Down

0 comments on commit 6b3e41c

Please sign in to comment.