X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6307b7c124221f426fba288c5988d583ac27de70..0ebc1d233ac5a823ad107364e15ec84991aaf424:/include/xbt/misc.h?ds=sidebyside diff --git a/include/xbt/misc.h b/include/xbt/misc.h index 8b408b5ac2..4a9836e4f9 100644 --- a/include/xbt/misc.h +++ b/include/xbt/misc.h @@ -155,7 +155,13 @@ # define XBT_IMPORT_NO_EXPORT(type) __declspec(dllimport) type # define XBT_PUBLIC_DATA(type) __declspec(dllimport) type -/* UNIX build. Let's keep sain here ;) */ +/* UNIX build. If compiling in supernovae, try to inline everything */ +#elif defined(SUPERNOVAE_MODE) +# define XBT_PUBLIC(type) inline type +# define XBT_EXPORT_NO_IMPORT(type) type +# define XBT_IMPORT_NO_EXPORT(type) type +# define XBT_PUBLIC_DATA(type) extern type +/* UNIX sain build... */ #else # define XBT_PUBLIC(type) extern type # define XBT_EXPORT_NO_IMPORT(type) type