mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-18 15:55:12 +08:00
Added note in CMakeLists.txt to specify why we're doing something on Windows platforms.
This commit is contained in:
parent
5f8f8e8c73
commit
4e4974bfdc
@ -699,8 +699,11 @@ CHECK_TYPE_SIZE("uchar" SIZEOF_UCHAR)
|
||||
CHECK_TYPE_SIZE("int64_t" SIZEOF_INT64_T)
|
||||
CHECK_TYPE_SIZE("uint64_t" SIZEOF_UINT64_T)
|
||||
|
||||
# On windows systems, we redefine off_t as __int64
|
||||
# to enable LFS. This is true on 32 and 64 bit system.s
|
||||
# We must redefine SIZEOF_OFF_T to match.
|
||||
IF(MSVC AND SIZEOF___INT_64)
|
||||
SET(SIZEOF_OFF_T SIZEOF___INT_64)
|
||||
SET(SIZEOF_OFF_T ${SIZEOF___INT_64})
|
||||
ENDIF()
|
||||
|
||||
IF(SIZEOF_SSIZE_T)
|
||||
|
Loading…
Reference in New Issue
Block a user