Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[MSVC] use our extended xbt_malloc, but don't choke on 'strdup' that should read...
[simgrid.git] / include / simgrid_config.h.in
index 354fcec..5b362cb 100644 (file)
@@ -64,6 +64,8 @@
        #else
                typedef long ssize_t;
        #endif
        #else
                typedef long ssize_t;
        #endif
+       #define snprintf _snprintf
+       #define strdup   _strdup
 #endif
 
 /* Define to 1 if mmalloc is compiled in. */
 #endif
 
 /* Define to 1 if mmalloc is compiled in. */