[grisbi-cvs] grisbi/src include.h,1.39,1.40

Gunee guneemwelloeux at users.sourceforge.net
Mon Nov 9 15:10:53 CET 2009


Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv19958

Modified Files:
	include.h 
Log Message:
Relocated fix for Windows +
New fix for debug mode on Windows with MSVC

Index: include.h
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/include.h,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- include.h	25 Aug 2009 12:54:43 -0000	1.39
+++ include.h	9 Nov 2009 14:10:50 -0000	1.40
@@ -54,4 +54,15 @@
 #  define bindtextdomain(Domain,Directory) (Domain) 
 #endif /* ENABLE_NLS */
 
+/* The following lines revert back to FPRINTF on Windows Systems(LIBINTL_FPRINTF seems BUGGY) */
+#ifdef _WIN32
+# undef fprintf
+#endif
+
+/* g_fopen returns an incompatible pointer on windows with MSVC. This is a fix*/
+#ifdef _MSC_VER
+#undef g_fopen
+#define g_fopen fopen
+#endif
+
 #endif /* _INCLUDE_H */



More information about the cvs mailing list