pkgsrc/devel/gettext-lib/patches/patch-aa

13 lines
570 B
Text

$NetBSD: patch-aa,v 1.1 2002/12/12 08:59:11 schmonz Exp $
--- intl/libgnuintl.h.orig Tue Jul 23 08:27:52 2002
+++ intl/libgnuintl.h
@@ -93,7 +93,7 @@ extern "C" {
If he doesn't, we choose the method. A third possible method is
_INTL_REDIRECT_ASM, supported only by GCC. */
#if !(defined _INTL_REDIRECT_INLINE || defined _INTL_REDIRECT_MACROS)
-# if __GNUC__ >= 2 && (defined __STDC__ || defined __cplusplus)
+# if __GNUC__ >= 2 && !defined __APPLE_CC__ && (defined __STDC__ || defined __cplusplus)
# define _INTL_REDIRECT_ASM
# else
# ifdef __cplusplus