mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 12:12:14 +02:00
what's this cmake defines ssize_t???
This commit is contained in:
parent
fd3916e662
commit
a7f2d150a4
2 changed files with 5 additions and 7 deletions
|
@ -39,6 +39,11 @@ link_hifi_library(fbx ${TARGET_NAME} ${ROOT_DIR})
|
|||
link_hifi_library(shared ${TARGET_NAME} ${ROOT_DIR})
|
||||
|
||||
IF (WIN32)
|
||||
# add a definition for ssize_t so that windows doesn't bail
|
||||
add_definitions(-Dssize_t=long)
|
||||
|
||||
#target_link_libraries(${TARGET_NAME} Winmm Ws2_32)
|
||||
target_link_libraries(${TARGET_NAME} wsock32.lib)
|
||||
ENDIF(WIN32)
|
||||
|
||||
|
||||
|
|
|
@ -14,13 +14,6 @@
|
|||
|
||||
#include <QDebug>
|
||||
|
||||
#ifdef WIN32
|
||||
#ifndef ssize_t
|
||||
#define ssize_t int
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
#include <Octree.h>
|
||||
#include <ModelItem.h>
|
||||
#include <ModelTree.h>
|
||||
|
|
Loading…
Reference in a new issue