gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash/libbase tu_file.cpp


From: Dossy Shiobara
Subject: [Gnash-commit] gnash/libbase tu_file.cpp
Date: Sat, 22 Mar 2008 14:12:14 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Dossy Shiobara <dossy>  08/03/22 14:12:14

Modified files:
        libbase        : tu_file.cpp 

Log message:
        gettext 0.17 redefines printf in libintl.h, which confuses cpp
        3.x and causes a build failure looking for tu_file::__printf__.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/tu_file.cpp?cvsroot=gnash&r1=1.24&r2=1.25

Patches:
Index: tu_file.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/tu_file.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- tu_file.cpp 17 Jan 2008 20:36:15 -0000      1.24
+++ tu_file.cpp 22 Mar 2008 14:12:13 -0000      1.25
@@ -582,6 +582,8 @@
 
 #ifdef _WIN32
 #define vsnprintf      _vsnprintf
+// gettext 0.17 redefines printf in libintl.h which confuses cpp 3.x
+#undef printf
 #endif // _WIN32
 
 int    tu_file::printf(const char* fmt, ...)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]