mirror of
https://github.com/json-c/json-c.git
synced 2026-03-19 13:09:07 +08:00
Fix line terminators to be UNIX.
This commit is contained in:
307
.travis.yml
307
.travis.yml
@@ -1,154 +1,153 @@
|
||||
language: cpp
|
||||
matrix:
|
||||
include:
|
||||
# gcc
|
||||
# xenial
|
||||
# gcc 5 is the default on xenial
|
||||
- os: linux
|
||||
dist: xenial
|
||||
compiler: gcc
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- valgrind
|
||||
- cppcheck
|
||||
- doxygen
|
||||
- cmake
|
||||
env: CHECK="true"
|
||||
# bionic
|
||||
- os: linux
|
||||
dist: bionic
|
||||
compiler: gcc
|
||||
env: MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
|
||||
|
||||
# gcc 7 is the default on bionic
|
||||
- os: linux
|
||||
dist: bionic
|
||||
compiler: gcc
|
||||
env: CHECK="true"
|
||||
- os: linux
|
||||
dist: bionic
|
||||
compiler: gcc
|
||||
env: MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
|
||||
|
||||
# clang
|
||||
# xenial
|
||||
- os: linux
|
||||
dist: xenial
|
||||
compiler: clang
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- llvm-toolchain-xenial-5.0
|
||||
packages:
|
||||
- clang-5.0
|
||||
- cmake
|
||||
env: MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
|
||||
- os: linux
|
||||
dist: xenial
|
||||
compiler: clang
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- llvm-toolchain-xenial-6.0
|
||||
packages:
|
||||
- clang-6.0
|
||||
- cmake
|
||||
env: MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0"
|
||||
|
||||
# clang-7 is the default on xenial and bionic
|
||||
- os: linux
|
||||
dist: xenial
|
||||
compiler: clang
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- valgrind
|
||||
- cppcheck
|
||||
- doxygen
|
||||
- cmake
|
||||
env: CHECK="true"
|
||||
|
||||
# bionic
|
||||
- os: linux
|
||||
dist: bionic
|
||||
compiler: clang
|
||||
env: CHECK="true"
|
||||
# osx
|
||||
- os: osx
|
||||
osx_image: xcode9.4
|
||||
env: XCODE="true"
|
||||
- os: osx
|
||||
osx_image: xcode10.1
|
||||
env: XCODE="true" CHECK="true"
|
||||
|
||||
# run coveralls
|
||||
- os: linux
|
||||
dist: xenial
|
||||
compiler: gcc
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- lcov
|
||||
env: CHECK="true"
|
||||
before_install:
|
||||
- sudo gem install coveralls-lcov
|
||||
- echo $CC
|
||||
- echo $LANG
|
||||
- echo $LC_ALL
|
||||
- set -e
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
|
||||
eval "${MATRIX_EVAL}";
|
||||
if [ -n "$MATRIX_EVAL" ] && [ "$TRAVIS_COMPILER" != "clang" ]; then
|
||||
sudo apt-get install -y $CC;
|
||||
fi;
|
||||
fi
|
||||
before_script:
|
||||
- export CFLAGS="-fprofile-arcs -ftest-coverage"
|
||||
- mkdir build && cd build && cmake ..
|
||||
script:
|
||||
- make
|
||||
- make test
|
||||
after_success:
|
||||
- cd ..
|
||||
- lcov -d build/ -b . -c -o build/all_coverage.info
|
||||
- lcov -r build/all_coverage.info '/usr/*' '*CMakeFiles*' '*fuzz*' '*test*' -o build/coverage.info
|
||||
- coveralls-lcov --verbose build/coverage.info
|
||||
|
||||
# allow_failures:
|
||||
# - os: osx
|
||||
|
||||
before_install:
|
||||
- echo $CC
|
||||
- echo $LANG
|
||||
- echo $LC_ALL
|
||||
- set -e
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
|
||||
eval "${MATRIX_EVAL}";
|
||||
if [ -n "$MATRIX_EVAL" ] && [ "$TRAVIS_COMPILER" != "clang" ]; then
|
||||
sudo apt-get install -y $CC;
|
||||
fi;
|
||||
fi
|
||||
|
||||
before_script:
|
||||
# XXX osx on travis doesn't work w/ set -e, so turn it off :(
|
||||
- set +e
|
||||
- mkdir -p build || echo "Failed to mkdir build"
|
||||
- cd build || echo "Failed to cd build"
|
||||
- cmake .. || echo "Failed to run cmake"
|
||||
|
||||
script:
|
||||
- make
|
||||
# when using bionic, Travis seems to ignore the "addons" section, so installing the packages with apt-get...
|
||||
- if [ -n "$CHECK" ]; then
|
||||
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
||||
brew install doxygen;
|
||||
else
|
||||
if [ "$TRAVIS_DIST" = "bionic" ]; then
|
||||
sudo apt-get install -y valgrind cppcheck doxygen;
|
||||
fi;
|
||||
fi;
|
||||
make distcheck;
|
||||
if type cppcheck &> /dev/null ; then cppcheck --error-exitcode=1 --quiet *.h *.c tests/ ; fi;
|
||||
fi
|
||||
|
||||
language: cpp
|
||||
matrix:
|
||||
include:
|
||||
# gcc
|
||||
# xenial
|
||||
# gcc 5 is the default on xenial
|
||||
- os: linux
|
||||
dist: xenial
|
||||
compiler: gcc
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- valgrind
|
||||
- cppcheck
|
||||
- doxygen
|
||||
- cmake
|
||||
env: CHECK="true"
|
||||
# bionic
|
||||
- os: linux
|
||||
dist: bionic
|
||||
compiler: gcc
|
||||
env: MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
|
||||
|
||||
# gcc 7 is the default on bionic
|
||||
- os: linux
|
||||
dist: bionic
|
||||
compiler: gcc
|
||||
env: CHECK="true"
|
||||
- os: linux
|
||||
dist: bionic
|
||||
compiler: gcc
|
||||
env: MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
|
||||
|
||||
# clang
|
||||
# xenial
|
||||
- os: linux
|
||||
dist: xenial
|
||||
compiler: clang
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- llvm-toolchain-xenial-5.0
|
||||
packages:
|
||||
- clang-5.0
|
||||
- cmake
|
||||
env: MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
|
||||
- os: linux
|
||||
dist: xenial
|
||||
compiler: clang
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- llvm-toolchain-xenial-6.0
|
||||
packages:
|
||||
- clang-6.0
|
||||
- cmake
|
||||
env: MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0"
|
||||
|
||||
# clang-7 is the default on xenial and bionic
|
||||
- os: linux
|
||||
dist: xenial
|
||||
compiler: clang
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- valgrind
|
||||
- cppcheck
|
||||
- doxygen
|
||||
- cmake
|
||||
env: CHECK="true"
|
||||
|
||||
# bionic
|
||||
- os: linux
|
||||
dist: bionic
|
||||
compiler: clang
|
||||
env: CHECK="true"
|
||||
# osx
|
||||
- os: osx
|
||||
osx_image: xcode9.4
|
||||
env: XCODE="true"
|
||||
- os: osx
|
||||
osx_image: xcode10.1
|
||||
env: XCODE="true" CHECK="true"
|
||||
|
||||
# run coveralls
|
||||
- os: linux
|
||||
dist: xenial
|
||||
compiler: gcc
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- lcov
|
||||
env: CHECK="true"
|
||||
before_install:
|
||||
- sudo gem install coveralls-lcov
|
||||
- echo $CC
|
||||
- echo $LANG
|
||||
- echo $LC_ALL
|
||||
- set -e
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
|
||||
eval "${MATRIX_EVAL}";
|
||||
if [ -n "$MATRIX_EVAL" ] && [ "$TRAVIS_COMPILER" != "clang" ]; then
|
||||
sudo apt-get install -y $CC;
|
||||
fi;
|
||||
fi
|
||||
before_script:
|
||||
- export CFLAGS="-fprofile-arcs -ftest-coverage"
|
||||
- mkdir build && cd build && cmake ..
|
||||
script:
|
||||
- make
|
||||
- make test
|
||||
after_success:
|
||||
- cd ..
|
||||
- lcov -d build/ -b . -c -o build/all_coverage.info
|
||||
- lcov -r build/all_coverage.info '/usr/*' '*CMakeFiles*' '*fuzz*' '*test*' -o build/coverage.info
|
||||
- coveralls-lcov --verbose build/coverage.info
|
||||
|
||||
# allow_failures:
|
||||
# - os: osx
|
||||
|
||||
before_install:
|
||||
- echo $CC
|
||||
- echo $LANG
|
||||
- echo $LC_ALL
|
||||
- set -e
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
|
||||
eval "${MATRIX_EVAL}";
|
||||
if [ -n "$MATRIX_EVAL" ] && [ "$TRAVIS_COMPILER" != "clang" ]; then
|
||||
sudo apt-get install -y $CC;
|
||||
fi;
|
||||
fi
|
||||
|
||||
before_script:
|
||||
# XXX osx on travis doesn't work w/ set -e, so turn it off :(
|
||||
- set +e
|
||||
- mkdir -p build || echo "Failed to mkdir build"
|
||||
- cd build || echo "Failed to cd build"
|
||||
- cmake .. || echo "Failed to run cmake"
|
||||
|
||||
script:
|
||||
- make
|
||||
# when using bionic, Travis seems to ignore the "addons" section, so installing the packages with apt-get...
|
||||
- if [ -n "$CHECK" ]; then
|
||||
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
||||
brew install doxygen;
|
||||
else
|
||||
if [ "$TRAVIS_DIST" = "bionic" ]; then
|
||||
sudo apt-get install -y valgrind cppcheck doxygen;
|
||||
fi;
|
||||
fi;
|
||||
make distcheck;
|
||||
if type cppcheck &> /dev/null ; then cppcheck --error-exitcode=1 --quiet *.h *.c tests/ ; fi;
|
||||
fi
|
||||
|
||||
64
STYLE.txt
64
STYLE.txt
@@ -1,32 +1,32 @@
|
||||
In general:
|
||||
For minor changes to a function, copy the existing formatting.
|
||||
When changing the style, commit that separately from other changes.
|
||||
For new code and major changes to a function, switch to the official json-c style.
|
||||
|
||||
Official json-c style:
|
||||
|
||||
Aim for readability, not strict conformance to fixed style rules.
|
||||
Formatting is tab based; previous attempts at proper alignment with
|
||||
spaces for continuation lines have been abandoned in favor of the
|
||||
convenience of using clang-format.
|
||||
Refer to the .clang-format file for details, and run the tool before commit:
|
||||
|
||||
clang-format -i somefile.c foo.h
|
||||
|
||||
For sections of code that would be significantly negatively impacted, surround
|
||||
them with magic comments to disable formatting:
|
||||
|
||||
/* clang-format off */
|
||||
...code...
|
||||
/* clang-format on */
|
||||
|
||||
|
||||
Naming:
|
||||
Words within function and variable names are separated with underscores. Avoid camel case.
|
||||
Prefer longer, more descriptive names, but not excessively so. No single letter variable names.
|
||||
|
||||
Other:
|
||||
Variables should be defined for the smallest scope needed.
|
||||
Functions should be defined static when possible.
|
||||
When possible, avoid exposing internals in the public API.
|
||||
|
||||
In general:
|
||||
For minor changes to a function, copy the existing formatting.
|
||||
When changing the style, commit that separately from other changes.
|
||||
For new code and major changes to a function, switch to the official json-c style.
|
||||
|
||||
Official json-c style:
|
||||
|
||||
Aim for readability, not strict conformance to fixed style rules.
|
||||
Formatting is tab based; previous attempts at proper alignment with
|
||||
spaces for continuation lines have been abandoned in favor of the
|
||||
convenience of using clang-format.
|
||||
Refer to the .clang-format file for details, and run the tool before commit:
|
||||
|
||||
clang-format -i somefile.c foo.h
|
||||
|
||||
For sections of code that would be significantly negatively impacted, surround
|
||||
them with magic comments to disable formatting:
|
||||
|
||||
/* clang-format off */
|
||||
...code...
|
||||
/* clang-format on */
|
||||
|
||||
|
||||
Naming:
|
||||
Words within function and variable names are separated with underscores. Avoid camel case.
|
||||
Prefer longer, more descriptive names, but not excessively so. No single letter variable names.
|
||||
|
||||
Other:
|
||||
Variables should be defined for the smallest scope needed.
|
||||
Functions should be defined static when possible.
|
||||
When possible, avoid exposing internals in the public API.
|
||||
|
||||
|
||||
74
appveyor.yml
74
appveyor.yml
@@ -1,37 +1,37 @@
|
||||
version: '{branch}.{build}'
|
||||
os: Windows Server 2012 R2
|
||||
|
||||
platform: x64
|
||||
|
||||
# There should be a better way to set-up a build matrix.
|
||||
environment:
|
||||
matrix:
|
||||
- b_toolset: Windows7.1SDK
|
||||
b_config: Debug
|
||||
|
||||
- b_toolset: Windows7.1SDK
|
||||
b_config: Release
|
||||
|
||||
- b_toolset: v120
|
||||
b_config: Debug
|
||||
|
||||
- b_toolset: v120
|
||||
b_config: Release
|
||||
|
||||
- b_toolset: v140
|
||||
b_config: Debug
|
||||
|
||||
- b_toolset: v140
|
||||
b_config: Release
|
||||
|
||||
build_script:
|
||||
- cmake -T %b_toolset% -DCMAKE_BUILD_TYPE=%b_config% -DCMAKE_INSTALL_PREFIX=t_install .
|
||||
- cmake --build . --target install
|
||||
|
||||
after_build:
|
||||
- cd t_install
|
||||
- 7z a ../json-c.win32.%b_toolset%.%b_config%.zip *
|
||||
|
||||
artifacts:
|
||||
- path: json-c.win32.%b_toolset%.%b_config%.zip
|
||||
name: json-c.win32.%b_toolset%.%b_config%.zip
|
||||
version: '{branch}.{build}'
|
||||
os: Windows Server 2012 R2
|
||||
|
||||
platform: x64
|
||||
|
||||
# There should be a better way to set-up a build matrix.
|
||||
environment:
|
||||
matrix:
|
||||
- b_toolset: Windows7.1SDK
|
||||
b_config: Debug
|
||||
|
||||
- b_toolset: Windows7.1SDK
|
||||
b_config: Release
|
||||
|
||||
- b_toolset: v120
|
||||
b_config: Debug
|
||||
|
||||
- b_toolset: v120
|
||||
b_config: Release
|
||||
|
||||
- b_toolset: v140
|
||||
b_config: Debug
|
||||
|
||||
- b_toolset: v140
|
||||
b_config: Release
|
||||
|
||||
build_script:
|
||||
- cmake -T %b_toolset% -DCMAKE_BUILD_TYPE=%b_config% -DCMAKE_INSTALL_PREFIX=t_install .
|
||||
- cmake --build . --target install
|
||||
|
||||
after_build:
|
||||
- cd t_install
|
||||
- 7z a ../json-c.win32.%b_toolset%.%b_config%.zip *
|
||||
|
||||
artifacts:
|
||||
- path: json-c.win32.%b_toolset%.%b_config%.zip
|
||||
name: json-c.win32.%b_toolset%.%b_config%.zip
|
||||
|
||||
414
config.h.win32
414
config.h.win32
@@ -1,207 +1,207 @@
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Enable RDRANR Hardware RNG Hash Seed */
|
||||
#undef ENABLE_RDRAND
|
||||
|
||||
/* Define if .gnu.warning accepts long strings. */
|
||||
#undef HAS_GNU_WARNING_LONG
|
||||
|
||||
/* Define to 1 if you have the declaration of `INFINITY', and to 0 if you
|
||||
don't. */
|
||||
#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
|
||||
#define HAVE_DECL_INFINITY 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the declaration of `isinf', and to 0 if you don't.
|
||||
*/
|
||||
#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
|
||||
#define HAVE_DECL_ISINF 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the declaration of `isnan', and to 0 if you don't.
|
||||
*/
|
||||
#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
|
||||
#define HAVE_DECL_ISNAN 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the declaration of `nan', and to 0 if you don't. */
|
||||
#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
|
||||
#define HAVE_DECL_NAN 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the declaration of `_finite', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL__FINITE 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `_isnan', and to 0 if you don't.
|
||||
*/
|
||||
#define HAVE_DECL__ISNAN 1
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#define HAVE_DLFCN_H 1
|
||||
|
||||
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
|
||||
#define HAVE_DOPRNT 1
|
||||
|
||||
/* Define to 1 if you have the <endian.h> header file. */
|
||||
#undef HAVE_ENDIAN_H
|
||||
|
||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
#define HAVE_FCNTL_H 1
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <limits.h> header file. */
|
||||
#define HAVE_LIMITS_H 1
|
||||
|
||||
/* Define to 1 if you have the <locale.h> header file. */
|
||||
#define HAVE_LOCALE_H 1
|
||||
|
||||
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
|
||||
to 0 otherwise. */
|
||||
#define HAVE_MALLOC 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the `open' function. */
|
||||
#define HAVE_OPEN 1
|
||||
|
||||
/* Define to 1 if your system has a GNU libc compatible `realloc' function,
|
||||
and to 0 otherwise. */
|
||||
#define HAVE_REALLOC 1
|
||||
|
||||
/* Define to 1 if you have the `setlocale' function. */
|
||||
#define HAVE_SETLOCALE 1
|
||||
|
||||
/* Define to 1 if you have the `snprintf' function. */
|
||||
#if defined(__MINGW32__)
|
||||
#define HAVE_SNPRINTF 1
|
||||
#else
|
||||
#undef HAVE_SNPRINTF
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <stdarg.h> header file. */
|
||||
#define HAVE_STDARG_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#define HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the `strcasecmp' function. */
|
||||
#define HAVE_STRCASECMP 1
|
||||
|
||||
/* Define to 1 if you have the `strdup' function. */
|
||||
#define HAVE_STRDUP 0
|
||||
|
||||
/* Define to 1 if you have the `strerror' function. */
|
||||
#define HAVE_STRERROR 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the `strncasecmp' function. */
|
||||
#if defined(__MINGW32__)
|
||||
#define HAVE_STRNCASECMP 1
|
||||
#else
|
||||
#undef HAVE_STRNCASECMP
|
||||
#endif
|
||||
|
||||
#cmakedefine HAVE_STRTOLL
|
||||
#cmakedefine strtoll @cmake_strtoll@
|
||||
#cmakedefine HAVE_STRTOULL
|
||||
#cmakedefine strtoull @cmake_strtoull@
|
||||
|
||||
/* Define to 1 if you have the <syslog.h> header file. */
|
||||
#undef HAVE_SYSLOG_H
|
||||
|
||||
/* Define to 1 if you have the <sys/cdefs.h> header file. */
|
||||
#define HAVE_SYS_CDEFS_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
#if defined(__MINGW32__)
|
||||
#define HAVE_SYS_PARAM_H 1
|
||||
#else
|
||||
#undef HAVE_SYS_PARAM_H
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#if defined(__MINGW32__)
|
||||
#define HAVE_UNISTD_H 1
|
||||
#else
|
||||
#undef HAVE_UNISTD_H
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the `vasprintf' function. */
|
||||
#if defined(__MINGW32__)
|
||||
#define HAVE_VASPRINTF 1
|
||||
#else
|
||||
#undef HAVE_VASPRINTF
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the `vprintf' function. */
|
||||
#define HAVE_VPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `vsnprintf' function. */
|
||||
#define HAVE_VSNPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `vsyslog' function. */
|
||||
#undef HAVE_VSYSLOG
|
||||
|
||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
#undef LT_OBJDIR
|
||||
|
||||
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
|
||||
/* #undef NO_MINUS_C_MINUS_O */
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "json-c"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT "json-c@googlegroups.com"
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME "JSON C Library"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "JSON C Library 0.13.99"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "json-c"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#define PACKAGE_URL "https://github.com/json-c/json-c"
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "0.13.99"
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "0.13.99"
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
/* #undef const */
|
||||
|
||||
/* Define to rpl_malloc if the replacement function should be used. */
|
||||
/* #undef malloc */
|
||||
|
||||
/* Define to rpl_realloc if the replacement function should be used. */
|
||||
/* #undef realloc */
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
/* #undef size_t */
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Enable RDRANR Hardware RNG Hash Seed */
|
||||
#undef ENABLE_RDRAND
|
||||
|
||||
/* Define if .gnu.warning accepts long strings. */
|
||||
#undef HAS_GNU_WARNING_LONG
|
||||
|
||||
/* Define to 1 if you have the declaration of `INFINITY', and to 0 if you
|
||||
don't. */
|
||||
#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
|
||||
#define HAVE_DECL_INFINITY 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the declaration of `isinf', and to 0 if you don't.
|
||||
*/
|
||||
#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
|
||||
#define HAVE_DECL_ISINF 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the declaration of `isnan', and to 0 if you don't.
|
||||
*/
|
||||
#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
|
||||
#define HAVE_DECL_ISNAN 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the declaration of `nan', and to 0 if you don't. */
|
||||
#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
|
||||
#define HAVE_DECL_NAN 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the declaration of `_finite', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL__FINITE 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `_isnan', and to 0 if you don't.
|
||||
*/
|
||||
#define HAVE_DECL__ISNAN 1
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#define HAVE_DLFCN_H 1
|
||||
|
||||
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
|
||||
#define HAVE_DOPRNT 1
|
||||
|
||||
/* Define to 1 if you have the <endian.h> header file. */
|
||||
#undef HAVE_ENDIAN_H
|
||||
|
||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
#define HAVE_FCNTL_H 1
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <limits.h> header file. */
|
||||
#define HAVE_LIMITS_H 1
|
||||
|
||||
/* Define to 1 if you have the <locale.h> header file. */
|
||||
#define HAVE_LOCALE_H 1
|
||||
|
||||
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
|
||||
to 0 otherwise. */
|
||||
#define HAVE_MALLOC 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the `open' function. */
|
||||
#define HAVE_OPEN 1
|
||||
|
||||
/* Define to 1 if your system has a GNU libc compatible `realloc' function,
|
||||
and to 0 otherwise. */
|
||||
#define HAVE_REALLOC 1
|
||||
|
||||
/* Define to 1 if you have the `setlocale' function. */
|
||||
#define HAVE_SETLOCALE 1
|
||||
|
||||
/* Define to 1 if you have the `snprintf' function. */
|
||||
#if defined(__MINGW32__)
|
||||
#define HAVE_SNPRINTF 1
|
||||
#else
|
||||
#undef HAVE_SNPRINTF
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <stdarg.h> header file. */
|
||||
#define HAVE_STDARG_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#define HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the `strcasecmp' function. */
|
||||
#define HAVE_STRCASECMP 1
|
||||
|
||||
/* Define to 1 if you have the `strdup' function. */
|
||||
#define HAVE_STRDUP 0
|
||||
|
||||
/* Define to 1 if you have the `strerror' function. */
|
||||
#define HAVE_STRERROR 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the `strncasecmp' function. */
|
||||
#if defined(__MINGW32__)
|
||||
#define HAVE_STRNCASECMP 1
|
||||
#else
|
||||
#undef HAVE_STRNCASECMP
|
||||
#endif
|
||||
|
||||
#cmakedefine HAVE_STRTOLL
|
||||
#cmakedefine strtoll @cmake_strtoll@
|
||||
#cmakedefine HAVE_STRTOULL
|
||||
#cmakedefine strtoull @cmake_strtoull@
|
||||
|
||||
/* Define to 1 if you have the <syslog.h> header file. */
|
||||
#undef HAVE_SYSLOG_H
|
||||
|
||||
/* Define to 1 if you have the <sys/cdefs.h> header file. */
|
||||
#define HAVE_SYS_CDEFS_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
#if defined(__MINGW32__)
|
||||
#define HAVE_SYS_PARAM_H 1
|
||||
#else
|
||||
#undef HAVE_SYS_PARAM_H
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#if defined(__MINGW32__)
|
||||
#define HAVE_UNISTD_H 1
|
||||
#else
|
||||
#undef HAVE_UNISTD_H
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the `vasprintf' function. */
|
||||
#if defined(__MINGW32__)
|
||||
#define HAVE_VASPRINTF 1
|
||||
#else
|
||||
#undef HAVE_VASPRINTF
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the `vprintf' function. */
|
||||
#define HAVE_VPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `vsnprintf' function. */
|
||||
#define HAVE_VSNPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `vsyslog' function. */
|
||||
#undef HAVE_VSYSLOG
|
||||
|
||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
#undef LT_OBJDIR
|
||||
|
||||
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
|
||||
/* #undef NO_MINUS_C_MINUS_O */
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "json-c"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT "json-c@googlegroups.com"
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME "JSON C Library"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "JSON C Library 0.13.99"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "json-c"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#define PACKAGE_URL "https://github.com/json-c/json-c"
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "0.13.99"
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "0.13.99"
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
/* #undef const */
|
||||
|
||||
/* Define to rpl_malloc if the replacement function should be used. */
|
||||
/* #undef malloc */
|
||||
|
||||
/* Define to rpl_realloc if the replacement function should be used. */
|
||||
/* #undef realloc */
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
/* #undef size_t */
|
||||
|
||||
Reference in New Issue
Block a user