Move _GNU_SOURCE to gmxpre.h
authorTeemu Murtola <teemu.murtola@gmail.com>
Tue, 9 Sep 2014 18:27:36 +0000 (21:27 +0300)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 11 Sep 2014 11:34:33 +0000 (13:34 +0200)
commit2c8e4fac688f51c7b779c13a542f4700a221715d
treea3ba09fdd36b3fa4e54dc731811f6fc260dcdf69
parent6d1bc0a87809729252a3e706b6ff24c9df35c57f
Move _GNU_SOURCE to gmxpre.h

This makes life simpler in files that require it, and removes clutter
from there.  The only (minor) disadvantage is that it is now defined
everywhere, so people who develop on a system where it has effect may
accidentally introduce additional function calls that depend on the
define.  But Jenkins should catch those easily.

Change-Id: Ia4ed8b5d189138694076705ded695d818bbc73e3
src/external/gmock-1.7.0/CMakeLists.txt
src/gmxpre.h
src/gromacs/gmxlib/gmx_cpuid.c
src/gromacs/gmxlib/gmx_thread_affinity.c