Issue #568: fix the strtoll and strtoull handing so config.h ends up creating defines for those only when needed, which should exclude mingw environments.
This commit is contained in:
1 parent
b64bdfe381
commit
545464322b
3 files changed
+28
-29
No files matched your search
+9
-2
@@ -136,9 +136,16 @@
|
||||
#cmakedefine HAVE_VSYSLOG @HAVE_VSYSLOG@
|
||||
|
||||
#cmakedefine HAVE_STRTOLL
|
||||
#cmakedefine strtoll @json_c_strtoll@
|
||||
#if !defined(HAVE_STRTOLL)
|
||||
#define strtoll @json_c_strtoll@
|
||||
/* #cmakedefine json_c_strtoll @json_c_strtoll@*/
|
||||
#endif
|
||||
|
||||
#cmakedefine HAVE_STRTOULL
|
||||
#cmakedefine strtoull @json_c_strtoull@
|
||||
#if !defined(HAVE_STRTOULL)
|
||||
#define strtoull @json_c_strtoull@
|
||||
/* #cmakedefine json_c_strtoull @json_c_strtoull@ */
|
||||
#endif
|
||||
|
||||
/* Have __thread */
|
||||
#cmakedefine HAVE___THREAD
|
||||
|
||||
Reference in new issue
Block a user