endif()
check_type_size("off_t" SIZEOF_OFF_T)
-# fseeko may not exist with _FILE_OFFSET_BITS=64 but can exist with
-# _FILE_OFFSET_BITS unset or 32 (e.g. Android ARMv7 with NDK 26b and API level < 24)
-# so we need to test fseeko after testing for _FILE_OFFSET_BITS
-check_symbol_exists("fseeko" "${CURL_INCLUDES};stdio.h" HAVE_FSEEKO)
+if(NOT WIN32)
+ # fseeko may not exist with _FILE_OFFSET_BITS=64 but can exist with
+ # _FILE_OFFSET_BITS unset or 32 (e.g. Android ARMv7 with NDK 26b and API level < 24)
+ # so we need to test fseeko after testing for _FILE_OFFSET_BITS
+ check_symbol_exists("fseeko" "${CURL_INCLUDES};stdio.h" HAVE_FSEEKO)
-if(HAVE_FSEEKO)
- set(HAVE_DECL_FSEEKO 1)
+ if(HAVE_FSEEKO)
+ set(HAVE_DECL_FSEEKO 1)
+ endif()
endif()
# Include this header to get the type
as their argument */
#define STRCONST(x) x,sizeof(x)-1
-/* Some versions of the Android SDK is missing the declaration */
+/* Some versions of the Android NDK is missing the declaration */
#if defined(HAVE_GETPWUID_R) && \
defined(__ANDROID_API__) && (__ANDROID_API__ < 21)
struct passwd;