Fix WS Compile on MSVC2012

This commit is contained in:
Brian West 2014-07-25 11:34:08 -05:00
parent ed7aa96778
commit 327146cecf
1 changed files with 5 additions and 0 deletions

View File

@ -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