Navigation Menu

Skip to content

Commit

Permalink
windows: maybe support Visual C++ 2010
Browse files Browse the repository at this point in the history
[groonga-dev,02454]

Reported by cosmo0920. Thanks!!!
  • Loading branch information
kou committed Jun 29, 2014
1 parent bc5f681 commit 484b1d4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/str.c
Expand Up @@ -27,6 +27,11 @@
#endif /* _ISOC99_SOURCE */
#include <math.h>

/* For Visual C++ 2010. Drop the code when we drop Visual C++ 2010 support. */
#if _MSC_VER < 1800
# define va_copy(destination, source) destination = source
#endif

inline static int
grn_str_charlen_utf8(grn_ctx *ctx, const unsigned char *str, const unsigned char *end)
{
Expand Down

0 comments on commit 484b1d4

Please sign in to comment.