1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Moved the _GNU_SOURCE macro into the Makefile

This commit is contained in:
Klaus Schmidinger 2001-10-07 15:14:50 +02:00
parent 229e9fc763
commit 6c41138bdd
7 changed files with 9 additions and 15 deletions

View File

@ -4,7 +4,7 @@
# See the main source file 'vdr.c' for copyright information and # See the main source file 'vdr.c' for copyright information and
# how to reach the author. # 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: .DELETE_ON_ERROR:
@ -39,6 +39,8 @@ endif
DEFINES += -DREMOTE_$(REMOTE) DEFINES += -DREMOTE_$(REMOTE)
DEFINES += -D_GNU_SOURCE
ifdef DEBUG_OSD ifdef DEBUG_OSD
DEFINES += -DDEBUG_OSD DEFINES += -DDEBUG_OSD
endif endif

View File

@ -4,13 +4,12 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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 #ifndef __CONFIG_H
#define __CONFIG_H #define __CONFIG_H
#define _GNU_SOURCE
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>

4
menu.h
View File

@ -4,14 +4,12 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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 #ifndef _MENU_H
#define _MENU_H #define _MENU_H
#define _GNU_SOURCE
#include "dvbapi.h" #include "dvbapi.h"
#ifdef DVDSUPPORT #ifdef DVDSUPPORT
#include "dvd.h" #include "dvd.h"

View File

@ -4,10 +4,9 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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 "recording.h"
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>

View File

@ -10,11 +10,9 @@
* and interact with the Video Disk Recorder - or write a full featured * and interact with the Video Disk Recorder - or write a full featured
* graphical interface that sits on top of an SVDRP connection. * 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 "svdrp.h"
#include <arpa/inet.h> #include <arpa/inet.h>
#include <ctype.h> #include <ctype.h>

View File

@ -4,10 +4,9 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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 "tools.h"
#include <ctype.h> #include <ctype.h>
#include <dirent.h> #include <dirent.h>

3
vdr.c
View File

@ -22,10 +22,9 @@
* *
* The project's page is at http://www.cadsoft.de/people/kls/vdr * 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 <getopt.h>
#include <locale.h> #include <locale.h>
#include <signal.h> #include <signal.h>