]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
config-tpf: define SIZEOF_LONG
authorJay Satiro <raysatiro@yahoo.com>
Wed, 23 Aug 2017 07:17:10 +0000 (03:17 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 23 Aug 2017 07:17:10 +0000 (03:17 -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.

Bug: https://github.com/curl/curl/issues/1816

lib/config-tpf.h

index d1714fdfc4fdf69b9068424853c0426c0016a0db..d1eb3d906201cb9699ecf8af01f07c62454bd95f 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 8
+
 /* The size of `size_t', as computed by sizeof. */
 #define SIZEOF_SIZE_T 8