0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 15:41:05 +08:00

Merge pull request #1838 from obache/neatsrc/fix-c-comment-style

Problem: Fix C++ style comment usage in C source
This commit is contained in:
Luca Boccassi 2016-03-04 09:41:29 +00:00
commit ee31ea1348

View File

@ -30,8 +30,10 @@
#include "platform.hpp"
#if defined (ZMQ_USE_TWEETNACL)
// Disable warnings for this source only, rather than for the whole
// codebase when building with C99 or with Microsoft's compiler
/*
Disable warnings for this source only, rather than for the whole
codebase when building with C99 or with Microsoft's compiler
*/
#if defined __GNUC__ && __STDC_VERSION__ < 201112L
# pragma GCC diagnostic ignored "-Wsign-compare"
#elif defined _MSC_VER