Please, use this macro if you when you declare a new public function (exported in windows dll).
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2864
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
/*
* win32 or win64 (__WIN32 is defined for win32 and win64 applications, __TOS_WIN__ is defined by xlC).
*/
-#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__TOS_WIN__)
+#ifdef _WIN32
# include "win32/config.h"
# include <windows.h>
#else
#endif /* #if defined (_XBT_USE_DECLSPEC) */
+#define XBT_PUBLIC _XBT_DECLSPEC
+
#if !defined (_XBT_CALL)
#define _XBT_CALL
#endif