diff options
author | Sami Kerola <kerolasa@iki.fi> | 2013-02-12 22:13:45 (GMT) |
---|---|---|
committer | Sami Kerola <kerolasa@iki.fi> | 2013-05-26 09:38:10 (GMT) |
commit | 47b978653358e3cde5eb1432efd5eb05a096f83c (patch) | |
tree | 1c26d000f609fdf9987a77fd87888314dcd5c9c7 /src/tests | |
parent | 73b79587708d49adfec3edb464fd0970fc9f9022 (diff) | |
download | fluxbox-47b978653358e3cde5eb1432efd5eb05a096f83c.zip fluxbox-47b978653358e3cde5eb1432efd5eb05a096f83c.tar.bz2 |
build-sys: use AC_USE_SYSTEM_EXTENSIONS
The earlier _GNU_SOURCE definitions possibly did not take effect
everywhere where it was intended.
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/Resourcetest.cc | 5 | ||||
-rw-r--r-- | src/tests/StringUtiltest.cc | 3 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/tests/Resourcetest.cc b/src/tests/Resourcetest.cc index 53b5ec4..a1df8d9 100644 --- a/src/tests/Resourcetest.cc +++ b/src/tests/Resourcetest.cc | |||
@@ -21,11 +21,6 @@ | |||
21 | 21 | ||
22 | #include "Resource.hh" | 22 | #include "Resource.hh" |
23 | 23 | ||
24 | //use of strcasecmp | ||
25 | #ifndef _GNU_SOURCE | ||
26 | #define _GNU_SOURCE | ||
27 | #endif // _GNU_SOURCE | ||
28 | |||
29 | #include <string> | 24 | #include <string> |
30 | #include <iostream> | 25 | #include <iostream> |
31 | #ifdef HAVE_CSTDIO | 26 | #ifdef HAVE_CSTDIO |
diff --git a/src/tests/StringUtiltest.cc b/src/tests/StringUtiltest.cc index e5e8419..05bfde9 100644 --- a/src/tests/StringUtiltest.cc +++ b/src/tests/StringUtiltest.cc | |||
@@ -20,9 +20,6 @@ | |||
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | #include "FbTk/StringUtil.hh" | 22 | #include "FbTk/StringUtil.hh" |
23 | #ifndef _GNU_SOURCE | ||
24 | #define _GNU_SOURCE | ||
25 | #endif //_GNU_SOURCE | ||
26 | 23 | ||
27 | #include <cstring> | 24 | #include <cstring> |
28 | #include <cstdlib> | 25 | #include <cstdlib> |