diff options
Diffstat (limited to 'www/webkit-gtk/patches/patch-Source_WTF_wtf_Compiler.h')
-rw-r--r-- | www/webkit-gtk/patches/patch-Source_WTF_wtf_Compiler.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www/webkit-gtk/patches/patch-Source_WTF_wtf_Compiler.h b/www/webkit-gtk/patches/patch-Source_WTF_wtf_Compiler.h new file mode 100644 index 00000000000..94e3216fc4d --- /dev/null +++ b/www/webkit-gtk/patches/patch-Source_WTF_wtf_Compiler.h @@ -0,0 +1,13 @@ +$NetBSD: patch-Source_WTF_wtf_Compiler.h,v 1.1 2013/05/12 06:11:17 richard Exp $ + +--- Source/WTF/wtf/Compiler.h.orig 2012-11-23 20:12:16.000000000 +0000 ++++ Source/WTF/wtf/Compiler.h +@@ -122,7 +122,7 @@ + + /* Specific compiler features */ + #if COMPILER(GCC) && !COMPILER(CLANG) +-#if GCC_VERSION_AT_LEAST(4, 7, 0) && __cplusplus >= 201103L ++#if GCC_VERSION_AT_LEAST(4, 7, 0) && defined(__cplusplus) && __cplusplus >= 201103L + #define WTF_COMPILER_SUPPORTS_CXX_RVALUE_REFERENCES 1 + #define WTF_COMPILER_SUPPORTS_CXX_DELETED_FUNCTIONS 1 + #define WTF_COMPILER_SUPPORTS_CXX_NULLPTR 1 |