From 74da1b5cf94346f97e3df647b31a89a5ac776de1 Mon Sep 17 00:00:00 2001 From: fayjf Date: Thu, 12 May 2005 02:01:01 +0000 Subject: [PATCH] Takeshi Nishimura\'s menu fixes git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@605 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/freeglut_main.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/freeglut/freeglut/src/freeglut_main.c b/freeglut/freeglut/src/freeglut_main.c index 45d4165..a94aa8f 100644 --- a/freeglut/freeglut/src/freeglut_main.c +++ b/freeglut/freeglut/src/freeglut_main.c @@ -29,12 +29,16 @@ #include "freeglut_internal.h" #include #include -#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