Navigation Menu

Skip to content

Commit

Permalink
Suppress memcpy warnings in msgpack
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 18, 2018
1 parent 72a2fd2 commit 838cada
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/grn_msgpack.h
Expand Up @@ -21,7 +21,9 @@
#include "grn.h"

#ifdef GRN_WITH_MESSAGE_PACK
# define _CRT_SECURE_NO_WARNINGS
# include <msgpack.h>
# undef _CRT_SECURE_NO_WARNINGS

# if MSGPACK_VERSION_MAJOR < 1
typedef unsigned int msgpack_size_t;
Expand Down

0 comments on commit 838cada

Please sign in to comment.