compiled error in wn32
This commit is contained in:
parent
e94b5f1f2f
commit
efec15d267
|
@ -45,7 +45,7 @@ IF (${CMAKE_BUILD_TYPE} MATCHES "Debug")
|
|||
ELSEIF (${CMAKE_BUILD_TYPE} MATCHES "Release")
|
||||
MESSAGE(STATUS "Build Release Version")
|
||||
ELSE ()
|
||||
IF (TD_WINDOWS_64)
|
||||
IF (TD_WINDOWS)
|
||||
SET(CMAKE_BUILD_TYPE "Release")
|
||||
MESSAGE(STATUS "Build Release Version in Windows as default")
|
||||
ELSE ()
|
||||
|
|
|
@ -472,7 +472,7 @@ typedef uint64_t z_crc_t;
|
|||
#endif
|
||||
#ifndef Z_SOLO
|
||||
#if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE)
|
||||
#if (_WIN64)
|
||||
#if defined(_WIN64) || defined(_WIN32)
|
||||
#include <io.h>
|
||||
#include <process.h>
|
||||
#else
|
||||
|
|
|
@ -472,7 +472,7 @@ typedef uLong FAR uLongf;
|
|||
#endif
|
||||
#ifndef Z_SOLO
|
||||
# if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE)
|
||||
#if (_WIN64)
|
||||
#if defined(_WIN64) || defined(_WIN32)
|
||||
#include <io.h>
|
||||
#include <process.h>
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue