diff options
Diffstat (limited to 'contrib/libottery/ottery-threading.h')
-rw-r--r-- | contrib/libottery/ottery-threading.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/libottery/ottery-threading.h b/contrib/libottery/ottery-threading.h index 383d9cd83..c5427adae 100644 --- a/contrib/libottery/ottery-threading.h +++ b/contrib/libottery/ottery-threading.h @@ -14,6 +14,11 @@ #ifndef OTTERY_LOCKING_H_HEADER_INCLUDED_ #define OTTERY_LOCKING_H_HEADER_INCLUDED_ +/* We don't need locks when building rspamd */ +#ifdef BUILD_RSPAMD +#define OTTERY_NO_LOCKS +#endif + /* Locks */ #ifdef OTTERY_NO_LOCKS /* Nothing here. */ |