git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2882
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
/* Define to id of used va_copy() implementation */
#define __VA_COPY_USE __VA_COPY_USE_C99
/* Define to id of used va_copy() implementation */
#define __VA_COPY_USE __VA_COPY_USE_C99
-#if defined(_XBT_DESIGNATED_DLL)
- #define _XBT_CALL __cdecl __export
-#elif defined(_RTLDLL)
- #define _XBT_CALL __cdecl __import
-#else
- #define _XBT_CALL __cdecl
+#ifndef _XBT_CALL
+ #if defined(_XBT_DESIGNATED_DLL)
+ #define _XBT_CALL __cdecl __export
+ #elif defined(_RTLDLL)
+ #define _XBT_CALL __cdecl __import
+ #else
+ #define _XBT_CALL __cdecl
+ #endif
#endif
/* auto enable thread safety and exceptions: */
#endif
/* auto enable thread safety and exceptions: */
#define _XBT_LIB_BASENAME "xbt"
#define _XBT_LIB_BASENAME "xbt"
+#ifndef _XBT_EXPORT_DECLSPEC
#define _XBT_EXPORT_DECLSPEC __declspec(dllexport)
#define _XBT_EXPORT_DECLSPEC __declspec(dllexport)
+#endif
+
+#ifndef _XBT_IMPORT_DECLSPEC
#define _XBT_IMPORT_DECLSPEC __declspec(dllimport)
#define _XBT_IMPORT_DECLSPEC __declspec(dllimport)
+#endif
+
+#ifndef _XBT_CLASS_EXPORT_DECLSPEC
#define _XBT_CLASS_EXPORT_DECLSPEC __declspec(dllexport)
#define _XBT_CLASS_EXPORT_DECLSPEC __declspec(dllexport)
+#endif
+
+#ifndef _XBT_CLASS_IMPORT_DECLSPEC
#define _XBT_CLASS_IMPORT_DECLSPEC __declspec(dllimport)
#define _XBT_CLASS_IMPORT_DECLSPEC __declspec(dllimport)
- #if(__BORLANDC__>= 0x500)
- #define _XBT_HAS_NAMESPACES
- #endif
+
+#if(__BORLANDC__>= 0x500)
+ #define _XBT_HAS_NAMESPACES
+#endif
/* For open, read etc. file operations. */
/* For open, read etc. file operations. */