Kouhei Sutou
null+****@clear*****
Mon Jun 2 09:41:09 JST 2014
Kouhei Sutou 2014-06-02 09:41:09 +0900 (Mon, 02 Jun 2014) New Revision: 497ed33ab261306e91f4158fd9990352bbe920f3 https://github.com/groonga/groonga/commit/497ed33ab261306e91f4158fd9990352bbe920f3 Message: Add compatible API for Visual C++ Modified files: src/groonga.c Modified: src/groonga.c (+6 -0) =================================================================== --- src/groonga.c 2014-06-02 09:39:15 +0900 (bf18d46) +++ src/groonga.c 2014-06-02 09:41:09 +0900 (92faba4) @@ -48,6 +48,12 @@ # include <sys/sysctl.h> #endif /* HAVE_SYS_SYSCTL_H */ +#ifndef HAVE_STRNCASECMP +# ifdef HAVE__STRNICMP +# define strncasecmp(s1,s2,n) _strnicmp(s1,s2,n) +# endif /* HAVE__STRNICMP */ +#endif /* HAVE_STRNCASECMP */ + #ifndef USE_MSG_NOSIGNAL # ifdef MSG_NOSIGNAL # undef MSG_NOSIGNAL -------------- next part -------------- HTML����������������������������... Télécharger