From f2b5873b547dba7c9484d55ec1806809f52728c9 Mon Sep 17 00:00:00 2001 From: Branimir Karadzic Date: Thu, 16 Oct 2014 09:56:36 -0700 Subject: [PATCH] Fixed Linux build. --- include/bx/macros.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/bx/macros.h b/include/bx/macros.h index 234b331..9621ced 100644 --- a/include/bx/macros.h +++ b/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