Navigation Menu

Skip to content

Commit

Permalink
Add compatible API for Visual C++
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 2, 2014
1 parent 14d0f63 commit 497ed33
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/groonga.c
Expand Up @@ -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
Expand Down

0 comments on commit 497ed33

Please sign in to comment.