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