Fix WS Compile on MSVC2012
This commit is contained in:
parent
ed7aa96778
commit
327146cecf
|
@ -1,6 +1,11 @@
|
|||
#include "ws.h"
|
||||
#include <pthread.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
/* warning C4706: assignment within conditional expression*/
|
||||
#pragma warning(disable: 4706)
|
||||
#endif
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue