mirror of
https://github.com/json-c/json-c.git
synced 2026-03-31 10:59:06 +08:00
Include json_inttypes.h in json_object.h since we use types like int32_t in the API and some systems need that header to compile.
As part of this create a public json_config.h with a custom define to decide whether to include inttypes.h to avoid conflicting with other projects config.h header.
This commit is contained in:
@@ -13,6 +13,7 @@ libjsoninclude_HEADERS = \
|
||||
bits.h \
|
||||
debug.h \
|
||||
json.h \
|
||||
json_config.h \
|
||||
json_inttypes.h \
|
||||
json_object.h \
|
||||
json_object_private.h \
|
||||
@@ -21,6 +22,11 @@ libjsoninclude_HEADERS = \
|
||||
linkhash.h \
|
||||
printbuf.h
|
||||
|
||||
#libjsonx_includedir = $(libdir)/json-c-@VERSION@
|
||||
#
|
||||
#libjsonx_include_HEADERS = \
|
||||
# json_config.h
|
||||
|
||||
libjson_la_LDFLAGS = -version-info 1:0:1 -no-undefined
|
||||
|
||||
libjson_la_SOURCES = \
|
||||
|
||||
Reference in New Issue
Block a user