Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill old $Id$ command dating from CVS
[simgrid.git] / include / xbt / misc.h
index 4f0d047..a48059e 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* xbt.h - Public interface to the xbt (gras's toolbox)                     */
 
 /* Copyright (c) 2004 Martin Quinson.                                       */
 #  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