fix windows compilation, snprintf does not exist on Windows but _snprintf. 23/12923/2
Antoine ELIAS [Tue, 15 Oct 2013 08:31:06 +0000 (10:31 +0200)]
Change-Id: I04c441446cc69ad50457b397110985b3d4dd76aa

scilab/modules/scicos/sci_gateway/c/sci_scicosim.c

index 3488842..e1b2b45 100644 (file)
 #include "import.h"
 #include "localization.h"
 #include "MALLOC.h"
+
+#ifdef _MSC_VER
+#define snprintf _snprintf
+#endif
+
 /*--------------------------------------------------------------------------*/
 /* intsicosimc scicosim interface routine.
 *