Remove wxHAVE_GLIBC2 from configure, always predefine _GNU_SOURCE.

We used to test for glibc version first and predefined _GNU_SOURCE only if it
was greater than 2.1 but there doesn't seem to be any harm to just always
predefine _GNU_SOURCE under Linux (not that there are any systems with glibc <
2.1 left anyhow). Also do it much earlier to ensure that all tests are
affected by it.

And as we don't use wxHAVE_GLIBC2 anywhere else just remove it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-12-07 00:59:40 +00:00
parent f825123271
commit be1c88bf3e
4 changed files with 15 additions and 125 deletions

View File

@@ -862,10 +862,6 @@ typedef pid_t GPid;
#define wxUSE_DC_TRANSFORM_MATRIX 1
/*
* Have glibc2
*/
#define wxHAVE_GLIBC2 0
/*
* Use libXpm
*/