Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
we don't support static build [on windows] anyway
[simgrid.git] / include / simgrid_config.h.in
index 5b362cb..7e11886 100644 (file)
                                              SIMGRID_VERSION_PATCH)
 
 /* take care of DLL usage madness */
-
 #ifdef _XBT_DLL_EXPORT
        #ifndef DLL_EXPORT
                #define DLL_EXPORT
        #endif
 #else
-       #ifdef _XBT_DLL_STATIC
-               #ifndef DLL_STATIC
-                       #define DLL_STATIC
-               #endif
-       #else
-               #ifndef DLL_EXPORT
-                       #define DLL_IMPORT
-               #endif
+       #ifndef DLL_EXPORT
+               #define DLL_IMPORT
        #endif
 #endif
 
        #endif
 #endif
 
-#ifdef _MSC_VER /* MSVC has no ssize_t, and I fail to use the SSIZE_T declared in BaseTsd.h */
-       #if defined(_WIN64)
-               typedef __int64 ssize_t; 
-       #else
-               typedef long ssize_t;
-       #endif
-       #define snprintf _snprintf
-       #define strdup   _strdup
-#endif
+/* Define to 1 if you have the <unistd.h> header file. */
+#cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@
+/* Define to 1 if you have the <sys/time.h> header file. */
+#cmakedefine HAVE_SYS_TIME_H @HAVE_SYS_TIME_H@
 
 /* Define to 1 if mmalloc is compiled in. */
 #cmakedefine HAVE_MMALLOC @HAVE_MMALLOC@
@@ -81,7 +69,7 @@
 #define MALLOCATOR_COMPILED_IN @MALLOCATOR_IS_WANTED@
 
 /* Define if xbt contexts are based on our threads implementation or not */
-#cmakedefine CONTEXT_THREADS @CONTEXT_THREADS@
+#cmakedefine HAVE_THREAD_CONTEXTS @HAVE_THREAD_CONTEXTS@
 
 /* Jedule output  */
 #cmakedefine HAVE_JEDULE @HAVE_JEDULE@
@@ -95,4 +83,6 @@
 /* If Model-Checking support was requested */
 #cmakedefine HAVE_MC @HAVE_MC@
 
+#cmakedefine SIMGRID_HAVE_LIBSIG @SIMGRID_HAVE_LIBSIG@
+
 #endif /* SIMGRID_PUBLIC_CONFIG_H */