Browse files

Clang reports as being GCC 4.2 compatible, but has the 4.3 behavior

  • Loading branch information...
1 parent 62ea0ae commit 93f14689430ff1868a4472eedd1a4b608912f170 @dbussink dbussink committed Mar 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 vm/object_utils.hpp
View
2 vm/object_utils.hpp
@@ -13,7 +13,7 @@
// A stupid work around for g++ changing it's behavior on 4.3
-#if __GNUC__ >= 4 && __GNUC_MINOR__ >= 3
+#if __clang__ || (__GNUC__ >= 4 && __GNUC_MINOR__ >= 3)
#define SPECIALIZATION_STORAGE
#else
#define SPECIALIZATION_STORAGE static inline

0 comments on commit 93f1468

Please sign in to comment.