pkgsrc-wip/glide3/patches/patch-ag
2004-06-26 23:32:13 +00:00

22 lines
601 B
Text

$NetBSD: patch-ag,v 1.4 2004/06/26 23:32:13 rillig Exp $
--- swlibs/fxmisc/fxdll.h.orig Thu Apr 20 17:26:42 2000
+++ swlibs/fxmisc/fxdll.h Wed Mar 3 09:57:50 2004
@@ -57,6 +57,8 @@
#undef FX_CSTYLE
#endif
+#undef FX_DLL_DEFINITION
+
#if defined(FX_DLL_DEFINITION)
#if defined(FX_DLL_ENABLE)
#if defined(__MSC__)
@@ -98,7 +100,7 @@
* We don't want any of this DLL junk for DJGPP or UNIX
* so undo what is done above.
*/
-#if defined(__DJGPP__) || defined(__unix__)
+#if defined(__DJGPP__) || defined(__unix__) || defined(__NetBSD__)
#ifdef FX_CALL
#undef FX_CALL
#endif