]> granicus.if.org Git - yasm/commitdiff
Fix build problem on Linux with toascii() define.
authorPeter Johnson <peter@tortall.net>
Mon, 24 Dec 2001 18:01:12 +0000 (18:01 -0000)
committerPeter Johnson <peter@tortall.net>
Mon, 24 Dec 2001 18:01:12 +0000 (18:01 -0000)
svn path=/trunk/yasm/; revision=393

libyasm/util.h
src/util.h
util.h

index 50b6a3108d8f8aba8d24cac53eebfcd25b49064e..abd7f53941bc79cbc4f087ee8e9eb9ce1d82db94 100644 (file)
@@ -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
 
index 50b6a3108d8f8aba8d24cac53eebfcd25b49064e..abd7f53941bc79cbc4f087ee8e9eb9ce1d82db94 100644 (file)
@@ -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 50b6a3108d8f8aba8d24cac53eebfcd25b49064e..abd7f53941bc79cbc4f087ee8e9eb9ce1d82db94 100644 (file)
--- 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