Remove obsolete references to HAVE_GNU_C_LIBRARY which were causing build

breakage on some Linux platforms.

svn path=/trunk/yasm/; revision=762
This commit is contained in:
Peter Johnson 2002-10-13 17:01:31 +00:00
parent c5bfd97db6
commit d0fa038137
3 changed files with 6 additions and 6 deletions

View file

@ -72,7 +72,7 @@ int mergesort(void *base, size_t nmemb, size_t size,
int (*compar)(const void *, const void *));
#endif
#if !defined(HAVE_STRSEP) || defined(HAVE_GNU_C_LIBRARY) || defined(lint)
#if !defined(HAVE_STRSEP) || defined(lint)
/*@null@*/ char *strsep(char **stringp, const char *delim);
#endif
@ -88,7 +88,7 @@ int mergesort(void *base, size_t nmemb, size_t size,
# endif
#endif
#if defined(USE_OUR_OWN_STRCASECMP) || defined(HAVE_GNU_C_LIBRARY) || defined(lint)
#if defined(USE_OUR_OWN_STRCASECMP) || defined(lint)
int strcasecmp(const char *s1, const char *s2);
int strncasecmp(const char *s1, const char *s2, size_t n);
#endif

View file

@ -72,7 +72,7 @@ int mergesort(void *base, size_t nmemb, size_t size,
int (*compar)(const void *, const void *));
#endif
#if !defined(HAVE_STRSEP) || defined(HAVE_GNU_C_LIBRARY) || defined(lint)
#if !defined(HAVE_STRSEP) || defined(lint)
/*@null@*/ char *strsep(char **stringp, const char *delim);
#endif
@ -88,7 +88,7 @@ int mergesort(void *base, size_t nmemb, size_t size,
# endif
#endif
#if defined(USE_OUR_OWN_STRCASECMP) || defined(HAVE_GNU_C_LIBRARY) || defined(lint)
#if defined(USE_OUR_OWN_STRCASECMP) || defined(lint)
int strcasecmp(const char *s1, const char *s2);
int strncasecmp(const char *s1, const char *s2, size_t n);
#endif

4
util.h
View file

@ -72,7 +72,7 @@ int mergesort(void *base, size_t nmemb, size_t size,
int (*compar)(const void *, const void *));
#endif
#if !defined(HAVE_STRSEP) || defined(HAVE_GNU_C_LIBRARY) || defined(lint)
#if !defined(HAVE_STRSEP) || defined(lint)
/*@null@*/ char *strsep(char **stringp, const char *delim);
#endif
@ -88,7 +88,7 @@ int mergesort(void *base, size_t nmemb, size_t size,
# endif
#endif
#if defined(USE_OUR_OWN_STRCASECMP) || defined(HAVE_GNU_C_LIBRARY) || defined(lint)
#if defined(USE_OUR_OWN_STRCASECMP) || defined(lint)
int strcasecmp(const char *s1, const char *s2);
int strncasecmp(const char *s1, const char *s2, size_t n);
#endif