[Groonga-commit] groonga/groonga at 838cada [master] Suppress memcpy warnings in msgpack

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jun 18 17:04:34 JST 2018


Kouhei Sutou	2018-06-18 17:04:34 +0900 (Mon, 18 Jun 2018)

  New Revision: 838cada027e2b6cbf2d5f34fdbc6cc478ed23a54
  https://github.com/groonga/groonga/commit/838cada027e2b6cbf2d5f34fdbc6cc478ed23a54

  Message:
    Suppress memcpy warnings in msgpack

  Modified files:
    lib/grn_msgpack.h

  Modified: lib/grn_msgpack.h (+2 -0)
===================================================================
--- lib/grn_msgpack.h    2018-06-18 16:54:34 +0900 (b435cabc8)
+++ lib/grn_msgpack.h    2018-06-18 17:04:34 +0900 (b32ec93fd)
@@ -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;
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180618/c1efdf7d/attachment.htm 



More information about the Groonga-commit mailing list
Back to archive index