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
# 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

View File

@ -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>

4
menu.h
View File

@ -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"

View File

@ -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>

View File

@ -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>

View File

@ -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>

3
vdr.c
View File

@ -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>