projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Takeshi Nishimura\'s menu fixes
[freeglut]
/
src
/
freeglut_main.c
diff --git
a/src/freeglut_main.c
b/src/freeglut_main.c
index
45d4165
..
a94aa8f
100644
(file)
--- a/
src/freeglut_main.c
+++ b/
src/freeglut_main.c
@@
-29,12
+29,16
@@
#include "freeglut_internal.h"
#include <errno.h>
#include <stdarg.h>
#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))
# define VFPRINTF(s,f,a) vfprintf((s),(f),(a))
-#elif HAVE_DOPRNT
-# define VFPRINTF(s,f,a) _doprnt((f),(a),(s))
#else
#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
#endif
#if TARGET_HOST_WINCE