summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-10-07 15:14:50 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-10-07 15:14:50 +0200
commit6c41138bdd546c1e833b5172901a98da38f1a849 (patch)
treef04a91bcc006f5fcb9692ea19bc3bfdc35160c1a
parent229e9fc7633c04f21af1a18a50f400c54fd476ed (diff)
downloadvdr-6c41138bdd546c1e833b5172901a98da38f1a849.tar.gz
vdr-6c41138bdd546c1e833b5172901a98da38f1a849.tar.bz2
Moved the _GNU_SOURCE macro into the Makefile
-rw-r--r--Makefile4
-rw-r--r--config.h3
-rw-r--r--menu.h4
-rw-r--r--recording.c3
-rw-r--r--svdrp.c4
-rw-r--r--tools.c3
-rw-r--r--vdr.c3
7 files changed, 9 insertions, 15 deletions
diff --git a/Makefile b/Makefile
index f39be088..4efae4b1 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: Makefile 1.27 2001/08/31 13:13:30 kls Exp $
+# $Id: Makefile 1.28 2001/10/07 15:14:50 kls Exp $
.DELETE_ON_ERROR:
@@ -39,6 +39,8 @@ endif
DEFINES += -DREMOTE_$(REMOTE)
+DEFINES += -D_GNU_SOURCE
+
ifdef DEBUG_OSD
DEFINES += -DDEBUG_OSD
endif
diff --git a/config.h b/config.h
index 4f002bb9..d0f0d77f 100644
--- a/config.h
+++ b/config.h
@@ -4,13 +4,12 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.h 1.83 2001/09/30 11:28:52 kls Exp $
+ * $Id: config.h 1.84 2001/10/07 15:13:23 kls Exp $
*/
#ifndef __CONFIG_H
#define __CONFIG_H
-#define _GNU_SOURCE
#include <stdio.h>
#include <string.h>
#include <time.h>
diff --git a/menu.h b/menu.h
index f7411c61..4adcaa7a 100644
--- a/menu.h
+++ b/menu.h
@@ -4,14 +4,12 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.h 1.30 2001/09/23 10:57:33 kls Exp $
+ * $Id: menu.h 1.31 2001/10/07 15:13:26 kls Exp $
*/
#ifndef _MENU_H
#define _MENU_H
-#define _GNU_SOURCE
-
#include "dvbapi.h"
#ifdef DVDSUPPORT
#include "dvd.h"
diff --git a/recording.c b/recording.c
index 21dddf97..403bbb6b 100644
--- a/recording.c
+++ b/recording.c
@@ -4,10 +4,9 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recording.c 1.39 2001/10/07 11:00:35 kls Exp $
+ * $Id: recording.c 1.40 2001/10/07 15:13:34 kls Exp $
*/
-#define _GNU_SOURCE
#include "recording.h"
#include <errno.h>
#include <fcntl.h>
diff --git a/svdrp.c b/svdrp.c
index 3c90bb02..43c55e46 100644
--- a/svdrp.c
+++ b/svdrp.c
@@ -10,11 +10,9 @@
* and interact with the Video Disk Recorder - or write a full featured
* graphical interface that sits on top of an SVDRP connection.
*
- * $Id: svdrp.c 1.24 2001/09/22 13:30:02 kls Exp $
+ * $Id: svdrp.c 1.25 2001/10/07 15:13:42 kls Exp $
*/
-#define _GNU_SOURCE
-
#include "svdrp.h"
#include <arpa/inet.h>
#include <ctype.h>
diff --git a/tools.c b/tools.c
index 5129e94a..c3d3bdad 100644
--- a/tools.c
+++ b/tools.c
@@ -4,10 +4,9 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: tools.c 1.48 2001/10/05 16:40:09 kls Exp $
+ * $Id: tools.c 1.49 2001/10/07 15:13:45 kls Exp $
*/
-#define _GNU_SOURCE
#include "tools.h"
#include <ctype.h>
#include <dirent.h>
diff --git a/vdr.c b/vdr.c
index 3df728bd..4777f87f 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,10 +22,9 @@
*
* The project's page is at http://www.cadsoft.de/people/kls/vdr
*
- * $Id: vdr.c 1.82 2001/10/07 10:28:32 kls Exp $
+ * $Id: vdr.c 1.83 2001/10/07 15:13:48 kls Exp $
*/
-#define _GNU_SOURCE
#include <getopt.h>
#include <locale.h>
#include <signal.h>