comparison src/video/x11/SDL_x11dyn.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 0c105755b110
comparison
equal deleted inserted replaced
1298:e1b8e1b97b67 1299:2bf9dda618e5
70 #if !__SDL_NO_REDEFINE_X11_HEADER_SYMS 70 #if !__SDL_NO_REDEFINE_X11_HEADER_SYMS
71 #define _XFlush p_XFlush 71 #define _XFlush p_XFlush
72 #define _XFlushGCCache p_XFlushGCCache 72 #define _XFlushGCCache p_XFlushGCCache
73 #define _XReply p_XReply 73 #define _XReply p_XReply
74 #define _XSend p_XSend 74 #define _XSend p_XSend
75 #define XFree pXFree
76
77 #if !defined(__osf__) || defined(X11_DYNAMIC)
75 #define _XData32 p_XData32 78 #define _XData32 p_XData32
76 #define XFree pXFree
77 #endif 79 #endif
80
81 #if defined(__osf__) && defined(X11_DYNAMIC)
82 #define _SmtBufferOverflow p_SmtBufferOverflow
83 #define _SmtIpError p_SmtIpError
84 #define ipAllocateData pipAllocateData
85 #define ipUnallocateAndSendData pipUnallocateAndSendData
86 #endif
87
88 #endif /* !__SDL_NO_REDEFINE_X11_HEADER_SYMS */
78 89
79 int SDL_X11_LoadSymbols(void); 90 int SDL_X11_LoadSymbols(void);
80 void SDL_X11_UnloadSymbols(void); 91 void SDL_X11_UnloadSymbols(void);
81 92
82 #ifdef __cplusplus 93 #ifdef __cplusplus