diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 04a81347d..0382bbcd7 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2014-10-29 Jon Turney + + * libc/include/string.h: Correct guard for strcasecmp(). + 2014-10-29 Terry Guo * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove unnecessary comparison. diff --git a/newlib/libc/include/string.h b/newlib/libc/include/string.h index 8fb3563cc..af5c9da4d 100644 --- a/newlib/libc/include/string.h +++ b/newlib/libc/include/string.h @@ -69,7 +69,7 @@ char *_EXFUN(rindex,(const char *, int)); #endif char *_EXFUN(stpcpy,(char *__restrict, const char *__restrict)); char *_EXFUN(stpncpy,(char *__restrict, const char *__restrict, size_t)); -#if __BSD_VISIBLE +#if __BSD_VISIBLE || __POSIX_VISIBLE int _EXFUN(strcasecmp,(const char *, const char *)); #endif #if __GNU_VISIBLE