From 00da16ca5b31be84070fc85a85f28b62204d95a8 Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Wed, 23 Aug 2017 03:17:10 -0400 Subject: [PATCH] config-tpf: 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. Bug: https://github.com/curl/curl/issues/1816 --- lib/config-tpf.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/config-tpf.h b/lib/config-tpf.h index d1714fdfc..d1eb3d906 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -618,6 +618,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 8 + /* The size of `size_t', as computed by sizeof. */ #define SIZEOF_SIZE_T 8