remove gnu_source redefinition warning

This commit is contained in:
jasonmoxham 2009-06-02 15:26:21 +00:00
parent 0860e1fa82
commit 42b02d4f32
7 changed files with 14 additions and 1 deletions

View File

@ -21,7 +21,9 @@ along with the GNU MP Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE /* for DECIMAL_POINT in langinfo.h */
#endif
#include "config.h"

View File

@ -29,7 +29,9 @@ MA 02110-1301, USA. */
3. Use mpn_tdiv_qr instead of mpn_lshift+mpn_divrem.
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE /* for DECIMAL_POINT in langinfo.h */
#endif
#include "config.h"

View File

@ -23,7 +23,9 @@ along with the GNU MP Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE /* for DECIMAL_POINT in glibc langinfo.h */
#endif
#include "config.h"

View File

@ -28,7 +28,9 @@ MA 02110-1301, USA. */
#if HAVE_OBSTACK_VPRINTF
#ifndef _GNU_SOURCE
#define _GNU_SOURCE /* ask glibc <stdio.h> for obstack_vprintf */
#endif
#if HAVE_STDARG
#include <stdarg.h>

View File

@ -28,8 +28,9 @@ MA 02110-1301, USA. */
#if ! HAVE_VSNPRINTF /* only need this file if we don't have vsnprintf */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE /* for strnlen prototype */
#endif
#if HAVE_STDARG
#include <stdarg.h>

View File

@ -23,7 +23,9 @@ along with the GNU MP Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE /* for DECIMAL_POINT in langinfo.h */
#endif
#include "config.h"

View File

@ -19,7 +19,9 @@ along with the GNU MP Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE /* for DECIMAL_POINT in glibc langinfo.h */
#endif
#include "config.h"