summaryrefslogtreecommitdiffstats
path: root/vecmathlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'vecmathlib.h')
-rw-r--r--vecmathlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vecmathlib.h b/vecmathlib.h
index 5fe2832..c0e82b7 100644
--- a/vecmathlib.h
+++ b/vecmathlib.h
@@ -165,7 +165,7 @@ class type_info;
#else
#define VML_CONFIG_ALTIVEC
#endif
-#if defined __ALTIVEC__ && defined _ARCH_PWR7 // IBM VSX
+#if defined __ALTIVEC__ && defined _ARCH_PWR7 && !defined __GNUC__ && !defined __GNUG__ // IBM VSX
#include "vec_vsx_double2.h"
#define VML_CONFIG_VSX " VSX"
#else
OpenPOWER on IntegriCloud