mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 13:43:47 +01:00
threads.h: coccinelle cannot understand a macro.
This commit is contained in:
parent
4346e5569e
commit
0b862a7616
@ -106,7 +106,9 @@ void tor_threadlocal_set(tor_threadlocal_t *threadlocal, void *value);
|
|||||||
typedef struct atomic_counter_t {
|
typedef struct atomic_counter_t {
|
||||||
atomic_size_t val;
|
atomic_size_t val;
|
||||||
} atomic_counter_t;
|
} atomic_counter_t;
|
||||||
|
#ifndef COCCI
|
||||||
#define ATOMIC_LINKAGE static
|
#define ATOMIC_LINKAGE static
|
||||||
|
#endif
|
||||||
#else /* !(defined(HAVE_WORKING_STDATOMIC)) */
|
#else /* !(defined(HAVE_WORKING_STDATOMIC)) */
|
||||||
typedef struct atomic_counter_t {
|
typedef struct atomic_counter_t {
|
||||||
tor_mutex_t mutex;
|
tor_mutex_t mutex;
|
||||||
|
Loading…
Reference in New Issue
Block a user