OSDN Git Service

Revert "mesa: #define fprintf to be __mingw_fprintf() on Mingw32"
authorBrian Paul <brianp@vmware.com>
Mon, 2 Jul 2012 23:23:18 +0000 (17:23 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 5 Jul 2012 14:07:26 +0000 (08:07 -0600)
This reverts commit cbffaf20e9e6154310ba68bb2b44adc37ba83bcd.

Use the PRIx64 macro in the fprintf() call instead, as suggested
by Dylan Noblesmith.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/main/imports.h

index 9fb6ae8..c0b6cec 100644 (file)
@@ -646,16 +646,6 @@ _mesa_vsnprintf(char *str, size_t size, const char *fmt, va_list arg);
 #endif
 
 
-/**
- * On Mingw32 we need to use __mingw_fprintf() to parse formats such
- * as "0x%llx", and possibly others
- */
-#ifdef __MINGW32__
-#define fprintf __mingw_fprintf
-#endif
-
-
-
 #ifdef __cplusplus
 }
 #endif