Fix detection of i386 in tmpi
[alexxy/gromacs.git] / include / thread_mpi / atomic.h
index cf5ae9d27ee8bca1ba3e6aee86e318b26a66b417..5e9ef9697a9478fa40e29350c34029a22ae1c76c 100644 (file)
@@ -99,7 +99,7 @@ extern "C"
 #endif
 
 /* now check specifically for several architectures: */
-#if ((defined(i386) || defined(__x86_64__)) && !defined(__OPEN64__))
+#if ((defined(__i386__) || defined(__x86_64__)) && !defined(__OPEN64__))
 /* first x86: */
 #include "atomic/gcc_x86.h"