Explorar o código

make GCC happy

Grant Limberg %!s(int64=5) %!d(string=hai) anos
pai
achega
cb342bfb12
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      core/OS.hpp

+ 4 - 0
core/OS.hpp

@@ -75,7 +75,11 @@
 
 #ifdef __GNUC__
 #ifndef ZT_DEBUG
+#ifdef __clang__
 #define ZT_INLINE __attribute__((always_inline)) inline
+#else
+#define ZT_INLINE inline
+#endif
 #endif
 #ifndef restrict
 #define restrict __restrict__