mirror of https://github.com/axmolengine/axmol.git
Make ScriptingCore.cpp compile with C++11 on iOS
When compiling with clang -stdlib=libc++ -std=c++11, write, read, and close functions are part of the unistd.h header file.
This commit is contained in:
parent
640dbf41ea
commit
0b8713c80c
|
@ -25,6 +25,7 @@
|
|||
#include <WS2tcpip.h>
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
#include <unistd.h>
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
#include <pthread.h>
|
||||
|
|
Loading…
Reference in New Issue