X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9b757886241c3fc8c055842b3cf7fef7494031d7..cb2c5c40e71782129ef41858a6685350e503d4d7:/include/xbt/misc.h diff --git a/include/xbt/misc.h b/include/xbt/misc.h index 4f0d04787c..e1c700d6d1 100644 --- a/include/xbt/misc.h +++ b/include/xbt/misc.h @@ -80,17 +80,6 @@ # 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: @@ -155,9 +144,9 @@ # 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