Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
adding test example to trace process migration using the mask TRACE_PROCESS
[simgrid.git] / include / xbt / misc.h
index 4f0d047..e1c700d 100644 (file)
 #  define _XBT_CALL
 #endif
 
-/* Support for SuperNovae compilation mode, where we stuff every source file
- *  into the same compilation unit to help GCC inlining what should be.
- * To go further on this, the internal getters/setters are then marked
- *  "static inline", while they are regular symbols otherwise.
- */
-#ifdef SUPERNOVAE_MODE
-# define SUPERNOVAE_INLINE static inline
-#else
-# define SUPERNOVAE_INLINE
-#endif
-
 /* Handle import/export stuff
  * 
  * Rational of XBT_PUBLIC: 
 #  define XBT_IMPORT_NO_EXPORT(type)   __declspec(dllimport) type
 #  define XBT_PUBLIC_DATA(type)                __declspec(dllimport) type
 
-/* UNIX build. Mark all functions as [potentially] inline, in case we are compiling in supernovae */
+/* UNIX build */
 #else
-#  define XBT_PUBLIC(type)            XBT_INLINE type
+#  define XBT_PUBLIC(type)            extern type
 #  define XBT_EXPORT_NO_IMPORT(type)  type
 #  define XBT_IMPORT_NO_EXPORT(type)  type
 #  define XBT_PUBLIC_DATA(type)       extern type