Fixes compilation on Linux.
This commit is contained in:
@@ -118,10 +118,10 @@ void JRenderer::Destroy()
|
|||||||
}
|
}
|
||||||
|
|
||||||
JRenderer::JRenderer() :
|
JRenderer::JRenderer() :
|
||||||
mLeft(0.0f),
|
mLeft(0.0f),
|
||||||
mRight(SCREEN_WIDTH_F),
|
mTop(0.0f),
|
||||||
mTop(0.0f),
|
mRight(SCREEN_WIDTH_F),
|
||||||
mBottom(SCREEN_HEIGHT_F)
|
mBottom(SCREEN_HEIGHT_F)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,12 +10,13 @@
|
|||||||
#pragma comment(lib,"ws2_32.lib")
|
#pragma comment(lib,"ws2_32.lib")
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#endif
|
#endif
|
||||||
#elif LINUX
|
#elif (defined LINUX)
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
#include <unistd.h>
|
||||||
#endif //WINDOWS
|
#endif //WINDOWS
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
|
|||||||
@@ -306,7 +306,6 @@ HEADERS += \
|
|||||||
|
|
||||||
# JGE, could probably be moved outside
|
# JGE, could probably be moved outside
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
../../JGE/src/corewrapper.cpp\
|
|
||||||
../../JGE/src/Encoding.cpp\
|
../../JGE/src/Encoding.cpp\
|
||||||
../../JGE/src/JAnimator.cpp\
|
../../JGE/src/JAnimator.cpp\
|
||||||
../../JGE/src/JApp.cpp\
|
../../JGE/src/JApp.cpp\
|
||||||
@@ -345,6 +344,7 @@ SOURCES += \
|
|||||||
|
|
||||||
CONFIG(graphics, graphics|console){
|
CONFIG(graphics, graphics|console){
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
|
../../JGE/src/corewrapper.cpp\
|
||||||
../../JGE/src/qt/filedownloader.cpp\
|
../../JGE/src/qt/filedownloader.cpp\
|
||||||
../../JGE/src/qt/qtcorewrapper.cpp\
|
../../JGE/src/qt/qtcorewrapper.cpp\
|
||||||
../../JGE/src/Qtmain.cpp\
|
../../JGE/src/Qtmain.cpp\
|
||||||
@@ -352,6 +352,7 @@ CONFIG(graphics, graphics|console){
|
|||||||
../../JGE/src/pc/JGfx.cpp
|
../../JGE/src/pc/JGfx.cpp
|
||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
|
../../JGE/include/corewrapper.h\
|
||||||
../../JGE/include/qt/filedownloader.h\
|
../../JGE/include/qt/filedownloader.h\
|
||||||
../../JGE/include/qt/qtcorewrapper.h
|
../../JGE/include/qt/qtcorewrapper.h
|
||||||
}
|
}
|
||||||
@@ -364,7 +365,6 @@ else:CONFIG(console, graphics|console){
|
|||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
../../JGE/include/Threading.h\
|
../../JGE/include/Threading.h\
|
||||||
../../JGE/include/corewrapper.h\
|
|
||||||
../../JGE/include/decoder_prx.h\
|
../../JGE/include/decoder_prx.h\
|
||||||
../../JGE/include/DebugRoutines.h\
|
../../JGE/include/DebugRoutines.h\
|
||||||
../../JGE/include/Encoding.h\
|
../../JGE/include/Encoding.h\
|
||||||
|
|||||||
Reference in New Issue
Block a user