sim: common: sim-arange: fix extern inline handling
[deliverable/binutils-gdb.git] / sim / common / sim-inline.h
index af75562a94ae0d31e2008fa84423b614f0477149..8a9c28673e3a1333869524b72ba481d29a159dbe 100644 (file)
 /* ??? Temporary, pending decision to always use extern inline and do a vast
    cleanup of inline support.  */
 #ifndef INLINE2
-#if defined (__GNUC__)
+#if defined (__GNUC_GNU_INLINE__) || defined (__GNUC_STDC_INLINE__)
+#define INLINE2 __inline__ __attribute__ ((__gnu_inline__))
+#elif defined (__GNUC__)
 #define INLINE2 __inline__
 #else
 #define INLINE2 /*inline*/
This page took 0.023527 seconds and 4 git commands to generate.