From e098c2b8d02db042d701480760ee664eae5c0ce1 Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: 周二, 22 10月 2013 18:04:54 +0800
Subject: [PATCH] Merge strncasecmp detection from 'master'

---
 libscpi/src/utils.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/libscpi/src/utils.h b/libscpi/src/utils.h
index f7c5c5b..07a2a0e 100644
--- a/libscpi/src/utils.h
+++ b/libscpi/src/utils.h
@@ -68,6 +68,10 @@
     size_t BSD_strnlen(const char *s, size_t maxlen);
 #endif
 
+#if !HAVE_STRNCASECMP && !HAVE_STRNICMP
+    int OUR_strncasecmp(const char *s1, const char *s2, size_t n);
+#endif
+
 #define min(a, b)  (((a) < (b)) ? (a) : (b))
 #define max(a, b)  (((a) > (b)) ? (a) : (b))
 

--
Gitblit v1.9.1