summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2014-08-17 15:00:54 +0100
committerSimon McVittie <smcv@debian.org>2014-08-21 09:54:12 +0100
commitd329544e703f3dd95be961e1d3778ee1b0dce81b (patch)
tree4cbd5060d05ba4dd4c87e99ef1306c43c45bea0b /modules
parent2737c67ccefeade89af596700fdfc41d7fcf3588 (diff)
downloadgtk+-d329544e703f3dd95be961e1d3778ee1b0dce81b.tar.gz
Use AC_USE_SYSTEM_EXTENSIONS to get _GNU_SOURCE, _XOPEN_SOURCE etc.
Similar to Bug #684123 in GLib. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=641638 Bug-Debian: https://bugs.debian.org/756476 Reviewed-by: Matthias Clasen
Diffstat (limited to 'modules')
-rw-r--r--modules/printbackends/cups/gtkprintbackendcups.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/printbackends/cups/gtkprintbackendcups.c b/modules/printbackends/cups/gtkprintbackendcups.c
index a49bb2d71f..69abd49784 100644
--- a/modules/printbackends/cups/gtkprintbackendcups.c
+++ b/modules/printbackends/cups/gtkprintbackendcups.c
@@ -17,10 +17,6 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef __linux__
-#define _GNU_SOURCE
-#endif
-
#include "config.h"
#include <ctype.h>
#include <unistd.h>