|
From: <mor...@us...> - 2008-11-19 00:39:22
|
Revision: 3293
http://ecell.svn.sourceforge.net/ecell/?rev=3293&view=rev
Author: moriyoshi
Date: 2008-11-19 00:39:17 +0000 (Wed, 19 Nov 2008)
Log Message:
-----------
* snprintf() is not available in MS's libc
Modified Paths:
--------------
ecell3/branches/ecell-3.1/ecell/libecs/VVector.cpp
Modified: ecell3/branches/ecell-3.1/ecell/libecs/VVector.cpp
===================================================================
--- ecell3/branches/ecell-3.1/ecell/libecs/VVector.cpp 2008-11-19 00:36:11 UTC (rev 3292)
+++ ecell3/branches/ecell-3.1/ecell/libecs/VVector.cpp 2008-11-19 00:39:17 UTC (rev 3293)
@@ -140,6 +140,10 @@
#include <sys/stat.h>
#endif /* HAVE_SYS_STAT_H */
+#ifdef _MSC_VER
+#define snprintf _snprintf
+#endif /* _MSC_VER */
+
#if defined( WIN32 ) && !defined( __CYGWIN__ )
#define PATH_SEPARATOR '\\'
#else
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|