Fixes compilation on Linux.

This commit is contained in:
xawotihs
2013-11-17 20:22:30 +01:00
parent b177a5ff22
commit 5d453c6716
3 changed files with 8 additions and 7 deletions
+4 -4
View File
@@ -118,10 +118,10 @@ void JRenderer::Destroy()
}
JRenderer::JRenderer() :
mLeft(0.0f),
mRight(SCREEN_WIDTH_F),
mTop(0.0f),
mBottom(SCREEN_HEIGHT_F)
mLeft(0.0f),
mTop(0.0f),
mRight(SCREEN_WIDTH_F),
mBottom(SCREEN_HEIGHT_F)
{
}
+2 -1
View File
@@ -10,12 +10,13 @@
#pragma comment(lib,"ws2_32.lib")
#include <winsock2.h>
#endif
#elif LINUX
#elif (defined LINUX)
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <fcntl.h>
#include <unistd.h>
#endif //WINDOWS
#include <errno.h>