diff options
author | Petri Lehtinen <petri@digip.org> | 2018-02-08 12:38:14 +0200 |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2018-02-08 12:38:14 +0200 |
commit | f44921e1766b4584bb239593ce7e7ea3242c99c3 (patch) | |
tree | f40ab7766463ca549abd75cbf2483603181c9590 /src | |
parent | 3aee856d7bc453d488ff9fa5f2ac70e979dd9869 (diff) | |
download | jansson-threadsafety.zip jansson-threadsafety.tar.gz jansson-threadsafety.tar.bz2 |
Clarify thread safety docs, rename JANSSON_THREAD_SAFEthreadsafety
Diffstat (limited to 'src')
-rw-r--r-- | src/jansson.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jansson.h b/src/jansson.h index 042390c..b17e8f4 100644 --- a/src/jansson.h +++ b/src/jansson.h @@ -36,7 +36,7 @@ extern "C" { /* If __atomic or __sync builtins are available the library is thread * safe for all read-only functions plus reference counting. */ #if JSON_HAVE_ATOMIC_BUILTINS || JSON_HAVE_SYNC_BUILTINS -#define JANSSON_THREAD_SAFE +#define JANSSON_THREAD_SAFE_REFCOUNT 1 #endif /* types */ |