]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
config-win32: define SIZEOF_LONG
authorViktor Szakats <vszakats@users.noreply.github.com>
Mon, 21 Aug 2017 22:14:33 +0000 (22:14 +0000)
committerJay Satiro <raysatiro@yahoo.com>
Tue, 22 Aug 2017 06:24:09 +0000 (02:24 -0400)
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
lib/config-win32ce.h

index 3d7892fecbaf74b6c009eb4d1cd6395d295551e5..00191fe4c8fdad1cd172382a111de22f163f2e92 100644 (file)
 /* 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
index eb444c5855ab5f56043b18ff4d666e260007eaf4..28a15f2a1bf4d4feaa0f3ad213002acc8e7887ac 100644 (file)
 /* 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