[grisbi-cvs] grisbi/src gsb_file.c,1.58,1.59

Mickaƫl Remars mykeul at users.sourceforge.net
Mon Aug 24 22:15:44 CEST 2009


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

Modified Files:
	gsb_file.c 
Log Message:
Implemented a fake realpath() for msvc to get a first full build on msvc

Index: gsb_file.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_file.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- gsb_file.c	24 Aug 2009 19:54:28 -0000	1.58
+++ gsb_file.c	24 Aug 2009 20:15:41 -0000	1.59
@@ -25,9 +25,13 @@
 
 #include <time.h>
 
-#if _WIN32
-#include <stdlibx.h> // For realpath()
-#endif
+#ifdef _WIN32
+#	ifdef _MSC_VER
+#		include <realpath.h>
+#	else
+#		include <stdlibx.h> // For realpath()
+#	endif//_MSC_VER
+#endif//_WIN32
 
 /*START_INCLUDE*/
 #include "gsb_file.h"



More information about the cvs mailing list