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/FbTk | |
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/FbTk')
-rw-r--r-- | src/FbTk/Font.cc | 4 | ||||
-rw-r--r-- | src/FbTk/I18n.cc | 5 | ||||
-rw-r--r-- | src/FbTk/ImageControl.cc | 5 | ||||
-rw-r--r-- | src/FbTk/Menu.cc | 5 | ||||
-rw-r--r-- | src/FbTk/RegExp.cc | 5 | ||||
-rw-r--r-- | src/FbTk/Timer.cc | 5 | ||||
-rw-r--r-- | src/FbTk/XmbFontImp.cc | 4 |
7 files changed, 0 insertions, 33 deletions
diff --git a/src/FbTk/Font.cc b/src/FbTk/Font.cc index 5987134..46a6b46 100644 --- a/src/FbTk/Font.cc +++ b/src/FbTk/Font.cc | |||
@@ -39,10 +39,6 @@ | |||
39 | #include "XFontImp.hh" | 39 | #include "XFontImp.hh" |
40 | 40 | ||
41 | #include "GContext.hh" | 41 | #include "GContext.hh" |
42 | //use gnu extensions | ||
43 | #ifndef _GNU_SOURCE | ||
44 | #define _GNU_SOURCE | ||
45 | #endif //_GNU_SOURCE | ||
46 | 42 | ||
47 | #ifndef __USE_GNU | 43 | #ifndef __USE_GNU |
48 | #define __USE_GNU | 44 | #define __USE_GNU |
diff --git a/src/FbTk/I18n.cc b/src/FbTk/I18n.cc index 3daa2e9..a7ed338 100644 --- a/src/FbTk/I18n.cc +++ b/src/FbTk/I18n.cc | |||
@@ -30,11 +30,6 @@ | |||
30 | * http://www.kulichki.com/moshkow/CYRILLIC/locale-tutorial-0_8.txt | 30 | * http://www.kulichki.com/moshkow/CYRILLIC/locale-tutorial-0_8.txt |
31 | */ | 31 | */ |
32 | 32 | ||
33 | //use GNU extensions | ||
34 | #ifndef _GNU_SOURCE | ||
35 | #define _GNU_SOURCE | ||
36 | #endif // _GNU_SOURCE | ||
37 | |||
38 | #include "I18n.hh" | 33 | #include "I18n.hh" |
39 | #include "FileUtil.hh" | 34 | #include "FileUtil.hh" |
40 | 35 | ||
diff --git a/src/FbTk/ImageControl.cc b/src/FbTk/ImageControl.cc index 8b5f23d..0693150 100644 --- a/src/FbTk/ImageControl.cc +++ b/src/FbTk/ImageControl.cc | |||
@@ -30,11 +30,6 @@ | |||
30 | #include "SimpleCommand.hh" | 30 | #include "SimpleCommand.hh" |
31 | #include "I18n.hh" | 31 | #include "I18n.hh" |
32 | 32 | ||
33 | //use GNU extensions | ||
34 | #ifndef _GNU_SOURCE | ||
35 | #define _GNU_SOURCE | ||
36 | #endif // _GNU_SOURCE | ||
37 | |||
38 | #ifdef HAVE_SYS_TYPES_H | 33 | #ifdef HAVE_SYS_TYPES_H |
39 | #include <sys/types.h> | 34 | #include <sys/types.h> |
40 | #endif // HAVE_SYS_TYPES_H | 35 | #endif // HAVE_SYS_TYPES_H |
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc index 3e3481f..cb58685 100644 --- a/src/FbTk/Menu.cc +++ b/src/FbTk/Menu.cc | |||
@@ -22,11 +22,6 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | //use GNU extensions | ||
26 | #ifndef _GNU_SOURCE | ||
27 | #define _GNU_SOURCE | ||
28 | #endif // _GNU_SOURCE | ||
29 | |||
30 | #include "Menu.hh" | 25 | #include "Menu.hh" |
31 | 26 | ||
32 | #include "MenuItem.hh" | 27 | #include "MenuItem.hh" |
diff --git a/src/FbTk/RegExp.cc b/src/FbTk/RegExp.cc index 3467971..b358eeb 100644 --- a/src/FbTk/RegExp.cc +++ b/src/FbTk/RegExp.cc | |||
@@ -22,11 +22,6 @@ | |||
22 | 22 | ||
23 | #include "RegExp.hh" | 23 | #include "RegExp.hh" |
24 | 24 | ||
25 | //use GNU extensions | ||
26 | #ifndef _GNU_SOURCE | ||
27 | #define _GNU_SOURCE | ||
28 | #endif // _GNU_SOURCE | ||
29 | |||
30 | #include <iostream> | 25 | #include <iostream> |
31 | 26 | ||
32 | using std::string; | 27 | using std::string; |
diff --git a/src/FbTk/Timer.cc b/src/FbTk/Timer.cc index 7f7977e..1806557 100644 --- a/src/FbTk/Timer.cc +++ b/src/FbTk/Timer.cc | |||
@@ -27,11 +27,6 @@ | |||
27 | #include "CommandParser.hh" | 27 | #include "CommandParser.hh" |
28 | #include "StringUtil.hh" | 28 | #include "StringUtil.hh" |
29 | 29 | ||
30 | //use GNU extensions | ||
31 | #ifndef _GNU_SOURCE | ||
32 | #define _GNU_SOURCE | ||
33 | #endif // _GNU_SOURCE | ||
34 | |||
35 | #ifdef HAVE_CASSERT | 30 | #ifdef HAVE_CASSERT |
36 | #include <cassert> | 31 | #include <cassert> |
37 | #else | 32 | #else |
diff --git a/src/FbTk/XmbFontImp.cc b/src/FbTk/XmbFontImp.cc index 6370d86..e73670c 100644 --- a/src/FbTk/XmbFontImp.cc +++ b/src/FbTk/XmbFontImp.cc | |||
@@ -31,10 +31,6 @@ | |||
31 | #include <locale.h> | 31 | #include <locale.h> |
32 | #endif // HAVE_SETLOCALE | 32 | #endif // HAVE_SETLOCALE |
33 | 33 | ||
34 | #ifndef _GNU_SOURCE | ||
35 | #define _GNU_SOURCE | ||
36 | #endif // _GNU_SOURCE | ||
37 | |||
38 | #ifdef HAVE_CSTDIO | 34 | #ifdef HAVE_CSTDIO |
39 | #include <cstdio> | 35 | #include <cstdio> |
40 | #else | 36 | #else |