Forráskód Böngészése

Fixed Linux build.

Branimir Karadzic 11 éve
szülő
commit
f2b5873b54
1 módosított fájl, 3 hozzáadás és 0 törlés
  1. 3 0
      include/bx/macros.h

+ 3 - 0
include/bx/macros.h

@@ -57,6 +57,9 @@
 #		define BX_THREAD __thread
 #	endif // BX_COMPILER_CLANG
 #	define BX_ATTRIBUTE(_x) __attribute__( (_x) )
+#	if BX_COMPILER_GCC
+#		define __has_extension(x) false
+#	endif // BX_COMPILER_GCC
 #elif BX_COMPILER_MSVC
 #	define BX_ALIGN_DECL(_align, _decl) __declspec(align(_align) ) _decl
 #	define BX_ALLOW_UNUSED