Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11sym.h @ 1299:2bf9dda618e5
Corrects dynamic X11 code on Tru64 systems.
Fixes Bugzilla #87.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 30 Jan 2006 18:21:44 +0000 |
parents | d2c6881935be |
children | 2b3ebc327017 |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11sym.h Mon Jan 30 14:27:56 2006 +0000 +++ b/src/video/x11/SDL_x11sym.h Mon Jan 30 18:21:44 2006 +0000 @@ -139,11 +139,18 @@ * These don't exist in 32-bit versions and are removed by Xlib macros, but * 64+ bit systems will use them. */ -#ifdef LONG64 +#if defined(LONG64) && !defined(__osf__) || defined(X11_DYNAMIC) 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) +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 *)) +SDL_X11_SYM(1,int,ipUnallocateAndSendData,(ChannelPtr, IPCard)) +#endif + #if NeedWidePrototypes SDL_X11_SYM(1,KeySym,XKeycodeToKeysym,(Display*,unsigned int,int)) #else