From dc44b059612a09abaa5f4a120325b68d5994638c Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Mon, 1 Dec 2025 11:37:59 +0100 Subject: [PATCH] Fix typo That include line wasn't valid code, so that resulted in: Checking for size of "size_t" : -1 And later on: json-c/json_patch.c:28:2: error: #error Unable to determine size of size_t --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 43a73b4..b0709ef 100644 --- a/meson.build +++ b/meson.build @@ -175,7 +175,7 @@ conf_data.set('SIZEOF_INT', cc.sizeof('int')) conf_data.set('SIZEOF_INT64_T', cc.sizeof('int64_t', prefix : '#include ')) conf_data.set('SIZEOF_LONG', cc.sizeof('long')) conf_data.set('SIZEOF_LONG_LONG', cc.sizeof('long long')) -conf_data.set('SIZEOF_SIZE_T', cc.sizeof('size_t', prefix : '#include ')) if cc.get_argument_syntax() == 'msvc' conf_data.set('SIZEOF_SSIZE_T', cc.sizeof('SSIZE_T', prefix : '#include \n#include ')) else -- 2.47.3