From ebf46317ee6f9174748fd587c9137270f35704e7 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 21 Aug 2017 22:14:33 +0000 Subject: config-win32: define SIZEOF_LONG Recent changes that replaced CURL_SIZEOF_LONG in the source with SIZEOF_LONG broke builds that use the premade configuration files and don't have SIZEOF_LONG defined. Closes https://github.com/curl/curl/pull/1814 --- lib/config-win32.h | 3 +++ lib/config-win32ce.h | 3 +++ 2 files changed, 6 insertions(+) (limited to 'lib') diff --git a/lib/config-win32.h b/lib/config-win32.h index 3d7892fec..00191fe4c 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -399,6 +399,9 @@ /* Define to the size of `short', as computed by sizeof. */ #define SIZEOF_SHORT 2 +/* Define to the size of `long', as computed by sizeof. */ +#define SIZEOF_LONG 4 + /* Define to the size of `size_t', as computed by sizeof. */ #if defined(_WIN64) # define SIZEOF_SIZE_T 8 diff --git a/lib/config-win32ce.h b/lib/config-win32ce.h index eb444c585..28a15f2a1 100644 --- a/lib/config-win32ce.h +++ b/lib/config-win32ce.h @@ -346,6 +346,9 @@ /* The size of `short', as computed by sizeof. */ #define SIZEOF_SHORT 2 +/* Define to the size of `long', as computed by sizeof. */ +#define SIZEOF_LONG 4 + /* The size of `size_t', as computed by sizeof. */ #if defined(_WIN64) # define SIZEOF_SIZE_T 8 -- cgit v1.2.3