Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2014-10-30 14:25:17 +0300
committerJon TURNEY <jon.turney@dronecode.org.uk>2014-10-30 14:25:17 +0300
commite7ebfb119ef3c3c54e98116734cb9fe28d7e50cd (patch)
treec1e4f4ddf03a0e56e76463a8b7e11dc549090dc6 /newlib
parent963545173c13eadcb9ce52f4cb8b8dbad2862669 (diff)
2014-10-29 Jon Turney <jon.turney@dronecode.org.uk>
* libc/include/string.h: Correct guard for strcasecmp().
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/string.h2
2 files changed, 5 insertions, 1 deletions
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 <jon.turney@dronecode.org.uk>
+
+ * libc/include/string.h: Correct guard for strcasecmp().
+
2014-10-29 Terry Guo <terry.guo@arm.com>
* 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