mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 23:49:44 +08:00
Suppress warning C4127 (conditional expression is constant) issued by Visual Studio 2012 introduced by FD_SET(..) which is using the do-while(0) trick.
This commit is contained in:
parent
73a845a327
commit
c5ba6016aa
@ -30,6 +30,7 @@
|
||||
#endif
|
||||
|
||||
#if defined (_MSC_VER)
|
||||
#pragma warning (disable : 4127) // conditional expression is constant: introduced by FD_SET(..)
|
||||
#pragma warning (disable : 4204) // non-constant aggregate initializer: issued due to missing C99 support
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user