summaryrefslogtreecommitdiff
path: root/math/gambit/files/patch-gnulib.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/gambit/files/patch-gnulib.h')
-rw-r--r--math/gambit/files/patch-gnulib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/gambit/files/patch-gnulib.h b/math/gambit/files/patch-gnulib.h
index 80ac59a172d7..c0889b2e39aa 100644
--- a/math/gambit/files/patch-gnulib.h
+++ b/math/gambit/files/patch-gnulib.h
@@ -4,7 +4,7 @@
#ifndef GNULIB_H
#define GNULIB_H
--#ifdef __GNUG__
+-#if defined(__GNUG__) && !defined(__APPLE_CC__)
-#include <_G_config.h>
-#endif // __GNUG__
#include <stddef.h>
@@ -14,7 +14,7 @@
#include <errno.h>
#include <fcntl.h>
--#ifdef __GNUG__
+-#if defined(__GNUG__) && !defined(__APPLE_CC__)
-extern "C" {
-int strcasecmp _G_ARGS((const char*, const char*));
-}