diff options
author | Viktor Szakats <vszakats@users.noreply.github.com> | 2017-08-21 22:14:33 +0000 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2017-08-22 02:24:09 -0400 |
commit | ebf46317ee6f9174748fd587c9137270f35704e7 (patch) | |
tree | 8c5339d5b7c68d455a7acc07848c80b60f8844a4 /lib/config-win32.h | |
parent | b93954261dfb45a0d4016cda2e02abdf5ba55a6c (diff) | |
download | curl-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-win32.h')
-rw-r--r-- | lib/config-win32.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |