From: Peter Johnson Date: Mon, 24 Dec 2001 18:01:12 +0000 (-0000) Subject: Fix build problem on Linux with toascii() define. X-Git-Tag: v0.1.0~137 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=855891dac2d0d18b4683410773a122bd7e094119;p=yasm Fix build problem on Linux with toascii() define. svn path=/trunk/yasm/; revision=393 --- diff --git a/libyasm/util.h b/libyasm/util.h index 50b6a310..abd7f539 100644 --- a/libyasm/util.h +++ b/libyasm/util.h @@ -94,7 +94,7 @@ int strcasecmp(const char *s1, const char *s2); int strncasecmp(const char *s1, const char *s2, size_t n); #endif -#if !defined(HAVE_TOASCII) || defined(HAVE_GNU_C_LIBRARY) || defined(lint) +#if !defined(HAVE_TOASCII) || defined(lint) # define toascii(c) ((c) & 0x7F) #endif diff --git a/src/util.h b/src/util.h index 50b6a310..abd7f539 100644 --- a/src/util.h +++ b/src/util.h @@ -94,7 +94,7 @@ int strcasecmp(const char *s1, const char *s2); int strncasecmp(const char *s1, const char *s2, size_t n); #endif -#if !defined(HAVE_TOASCII) || defined(HAVE_GNU_C_LIBRARY) || defined(lint) +#if !defined(HAVE_TOASCII) || defined(lint) # define toascii(c) ((c) & 0x7F) #endif diff --git a/util.h b/util.h index 50b6a310..abd7f539 100644 --- a/util.h +++ b/util.h @@ -94,7 +94,7 @@ int strcasecmp(const char *s1, const char *s2); int strncasecmp(const char *s1, const char *s2, size_t n); #endif -#if !defined(HAVE_TOASCII) || defined(HAVE_GNU_C_LIBRARY) || defined(lint) +#if !defined(HAVE_TOASCII) || defined(lint) # define toascii(c) ((c) & 0x7F) #endif