fix windows compilation after e27d835067b0264761ee3be86ecfc6a7eac2c4a3 33/13033/2
Antoine ELIAS [Tue, 29 Oct 2013 17:01:35 +0000 (18:01 +0100)]
Change-Id: I00fdd5b8f15110bbcde6c5838ab4a6c36dac0aec

scilab/modules/core/src/c/scimem.c

index 490aa8f..a9eb62a 100644 (file)
 #include "localization.h"
 #include "BOOL.h"
 /*--------------------------------------------------------------------------*/
+#ifndef _MSC_VER
 extern int scimem64(int *n, int newsize, BOOL isglobal);
 extern void freemem64(BOOL isglobal);
+#else
+static char *the_p = NULL;
+static char *the_ps = NULL;
+static char *the_gp = NULL;
+static char *the_gps = NULL;
+#endif
 /*--------------------------------------------------------------------------*/
 int C2F(scimem) (int *newsize, int *ptr)
 {