summaryrefslogtreecommitdiff
path: root/lib/config-win32ce.h
diff options
context:
space:
mode:
authorViktor Szakats <vszakats@users.noreply.github.com>2017-08-21 22:14:33 +0000
committerJay Satiro <raysatiro@yahoo.com>2017-08-22 02:24:09 -0400
commitebf46317ee6f9174748fd587c9137270f35704e7 (patch)
tree8c5339d5b7c68d455a7acc07848c80b60f8844a4 /lib/config-win32ce.h
parentb93954261dfb45a0d4016cda2e02abdf5ba55a6c (diff)
downloadcurl-ebf46317ee6f9174748fd587c9137270f35704e7.tar.gz
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
Diffstat (limited to 'lib/config-win32ce.h')
-rw-r--r--lib/config-win32ce.h3
1 files changed, 3 insertions, 0 deletions
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