Factor out #define _GNU_SOURCE from various .c files into an AC_GNU_SOURCE

check in configure.in.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14002 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Chris Shoemaker
2006-05-11 01:14:12 +00:00
parent ca2e68c145
commit b49877472e
58 changed files with 4 additions and 117 deletions
-2
View File
@@ -21,8 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#define _GNU_SOURCE
#include "config.h"
#include <glib.h>
#include "qof.h"
-2
View File
@@ -21,8 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#define _GNU_SOURCE
#include "config.h"
#include <glib.h>
#include <libxml/xmlversion.h>
-2
View File
@@ -21,8 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#define _GNU_SOURCE
#include "config.h"
#include <glib.h>
#include <libxml/xmlversion.h>
-1
View File
@@ -24,7 +24,6 @@
* *
\********************************************************************/
#define _GNU_SOURCE
#define __EXTENSIONS__
#include "config.h"
-2
View File
@@ -22,8 +22,6 @@
* *
*******************************************************************/
#define _GNU_SOURCE
#include "config.h"
#include <glib.h>
-2
View File
@@ -21,8 +21,6 @@
* *
\********************************************************************/
#define _GNU_SOURCE
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
-1
View File
@@ -24,7 +24,6 @@
#include "config.h"
#define _GNU_SOURCE
#include <glib.h>
#include <stdarg.h>
#include <stdio.h>
-1
View File
@@ -22,7 +22,6 @@
* *
\********************************************************************/
#define _GNU_SOURCE
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
-3
View File
@@ -24,9 +24,6 @@
#ifndef QOFBOOKMERGE_H
#define QOFBOOKMERGE_H
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#define QOF_MOD_MERGE "qof-merge"
/** @addtogroup BookMerge
-2
View File
@@ -21,8 +21,6 @@
* *
*******************************************************************/
#define _GNU_SOURCE
#include "config.h"
#include "qofmath128.h"
-2
View File
@@ -26,8 +26,6 @@
@author Copyright (C) 2004 Linas Vepstas <linas@linas.org>
*/
#define _GNU_SOURCE
#include "config.h"
#include <stdlib.h> /* for working atoll */