mirror of
https://github.com/json-c/json-c.git
synced 2026-03-24 15:39:07 +08:00
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
This commit is contained in:
@@ -175,7 +175,7 @@ conf_data.set('SIZEOF_INT', cc.sizeof('int'))
|
||||
conf_data.set('SIZEOF_INT64_T', cc.sizeof('int64_t', prefix : '#include <stdint.h>'))
|
||||
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 <stddef.h'))
|
||||
conf_data.set('SIZEOF_SIZE_T', cc.sizeof('size_t', prefix : '#include <stddef.h>'))
|
||||
if cc.get_argument_syntax() == 'msvc'
|
||||
conf_data.set('SIZEOF_SSIZE_T', cc.sizeof('SSIZE_T', prefix : '#include <BaseTsd.h>\n#include <stddef.h>'))
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user