X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_main.c;h=a94aa8f38efb436b54f70ae873b744bdaca38f1d;hb=5be63297013e21ede65121040b2bff13dd4fecac;hp=45d41658fe5865efaf8ac31a0b31f2b5899476ac;hpb=e3d7d342f3d217b104468e7c4b338bdfc31fc1c8;p=freeglut diff --git a/src/freeglut_main.c b/src/freeglut_main.c index 45d4165..a94aa8f 100644 --- a/src/freeglut_main.c +++ b/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