Takeshi Nishimura\'s menu fixes
authorJohn F. Fay <johnffay@nettally.com>
Thu, 12 May 2005 02:01:01 +0000 (02:01 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Thu, 12 May 2005 02:01:01 +0000 (02:01 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@605 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_main.c

index 45d4165..a94aa8f 100644 (file)
 #include "freeglut_internal.h"
 #include <errno.h>
 #include <stdarg.h>
-#if HAVE_VPRINTF
+#if TARGET_HOST_WIN32
 #    define VFPRINTF(s,f,a) vfprintf((s),(f),(a))
-#elif HAVE_DOPRNT
-#    define VFPRINTF(s,f,a) _doprnt((f),(a),(s))
 #else
-#    define VFPRINTF(s,f,a)
+#    if HAVE_VPRINTF
+#        define VFPRINTF(s,f,a) vfprintf((s),(f),(a))
+#    elif HAVE_DOPRNT
+#        define VFPRINTF(s,f,a) _doprnt((f),(a),(s))
+#    else
+#        define VFPRINTF(s,f,a)
+#    endif
 #endif
 
 #if TARGET_HOST_WINCE