Grant Limberg 5 lat temu
rodzic
commit
cb342bfb12
1 zmienionych plików z 4 dodań i 0 usunięć
  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__