diff 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
line wrap: on
line diff
--- a/src/video/x11/SDL_x11dyn.h	Mon Jan 30 14:27:56 2006 +0000
+++ b/src/video/x11/SDL_x11dyn.h	Mon Jan 30 18:21:44 2006 +0000
@@ -72,10 +72,21 @@
 #define _XFlushGCCache p_XFlushGCCache
 #define _XReply p_XReply
 #define _XSend p_XSend
+#define XFree pXFree
+
+#if !defined(__osf__) || defined(X11_DYNAMIC)
 #define _XData32 p_XData32
-#define XFree pXFree
 #endif
 
+#if defined(__osf__) && defined(X11_DYNAMIC)
+#define _SmtBufferOverflow p_SmtBufferOverflow
+#define _SmtIpError p_SmtIpError
+#define ipAllocateData pipAllocateData
+#define ipUnallocateAndSendData pipUnallocateAndSendData
+#endif
+
+#endif /* !__SDL_NO_REDEFINE_X11_HEADER_SYMS */
+
 int SDL_X11_LoadSymbols(void);
 void SDL_X11_UnloadSymbols(void);