mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
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:
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
* *
|
||||
\********************************************************************/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#define __EXTENSIONS__
|
||||
|
||||
#include "config.h"
|
||||
|
||||
@@ -22,8 +22,6 @@
|
||||
* *
|
||||
*******************************************************************/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
* *
|
||||
\********************************************************************/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include <glib.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
* *
|
||||
\********************************************************************/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include "config.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
* *
|
||||
*******************************************************************/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include "config.h"
|
||||
#include "qofmath128.h"
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user