mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-11-14 19:03:32 +00:00
Fix clang -Wfloat-equal warning
This commit is contained in:
1 parent
3c8935676a
commit
c9e8a68b00
5 files changed
+26
-6
No files matched your search
@@ -137,6 +137,11 @@ typedef int cJSON_bool;
|
||||
#define CJSON_NESTING_LIMIT 1000
|
||||
#endif
|
||||
|
||||
/* Precision of double variables comparison */
|
||||
#ifndef CJSON_DOUBLE_PRECIION
|
||||
#define CJSON_DOUBLE_PRECIION .00001
|
||||
#endif
|
||||
|
||||
/* returns the version of cJSON as a string */
|
||||
CJSON_PUBLIC(const char*) cJSON_Version(void);
|
||||
|
||||
|
||||
Reference in new issue
Block a user