Mesa (master): Revert "mesa: #define fprintf to be __mingw_fprintf() on Mingw32"

Brian Paul brianp at kemper.freedesktop.org
Thu Jul 5 14:08:55 UTC 2012


Module: Mesa
Branch: master
Commit: 76a6801240fb550b8de0295b1a935dd7c610a1f2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=76a6801240fb550b8de0295b1a935dd7c610a1f2

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jul  2 17:23:18 2012 -0600

Revert "mesa: #define fprintf to be __mingw_fprintf() on Mingw32"

This reverts commit cbffaf20e9e6154310ba68bb2b44adc37ba83bcd.

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

Reviewed-by: José Fonseca <jfonseca at vmware.com>

---

 src/mesa/main/imports.h |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index 9fb6ae8..c0b6cec 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -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




More information about the mesa-commit mailing list