Fix detection of i386 in tmpi
authorRoland Schulz <roland@utk.edu>
Sun, 29 Jun 2014 05:17:34 +0000 (01:17 -0400)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sun, 29 Jun 2014 07:26:07 +0000 (09:26 +0200)
commit5886961ef51ad9e57164945a77d0072576d81eae
treee2631fbec931358ace9e3171490242b286144497
parent71144d1dffe57c1ea81e7c76ab941c7192e0cbf1
Fix detection of i386 in tmpi

The i386 without underscore is not recommended for new code and is not
defined if -std=... (other than gnu...) is passed on the command line.
__i386__ is already present for GCC 3.2 so there is no need for the old
name. Also we use __i386__ in other places in the code already.
We dont pass such a flag by default for 4.6, but the user could.
In 5.0 this fixes tmpi if the compiler supports c++11 and we pass
std=c++11.

Fixes #1533

Change-Id: I615cb91d3e3196a90fa4ba03fa183bf47af5d444
include/thread_mpi/atomic.h