summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2017-08-23 03:17:10 -0400
committerJay Satiro <raysatiro@yahoo.com>2017-08-23 03:17:10 -0400
commit00da16ca5b31be84070fc85a85f28b62204d95a8 (patch)
tree48dfb2f225bcde17d562af21776f7b03022730e3
parent78a6d917c5660542be360e4bf1455ef4e3f078c1 (diff)
downloadcurl-00da16ca5b31be84070fc85a85f28b62204d95a8.tar.gz
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
-rw-r--r--lib/config-tpf.h3
1 files changed, 3 insertions, 0 deletions
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