Check uint16_t and uint8_t support correctly

Fixes #177.
This commit is contained in:
Petri Lehtinen
2014-04-30 12:05:07 +03:00
parent 960ead07f2
commit db285b3764
3 changed files with 40 additions and 2 deletions

View File

@@ -31,6 +31,16 @@
# define uint32_t @JSON_UINT32@
#endif
#cmakedefine HAVE_UINT16_T 1
#ifndef HAVE_UINT16_T
# define uint16_t @JSON_UINT16@
#endif
#cmakedefine HAVE_UINT8_T 1
#ifndef HAVE_UINT8_T
# define uint8_t @JSON_UINT8@
#endif
#cmakedefine HAVE_SSIZE_T 1
#ifndef HAVE_SSIZE_T