summaryrefslogtreecommitdiff
path: root/yescrypt-opt.c
diff options
context:
space:
mode:
Diffstat (limited to 'yescrypt-opt.c')
-rw-r--r--yescrypt-opt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/yescrypt-opt.c b/yescrypt-opt.c
index 928bd97..0925373 100644
--- a/yescrypt-opt.c
+++ b/yescrypt-opt.c
@@ -30,6 +30,8 @@
#include "crypt-port.h"
+#if INCLUDE_yescrypt
+
#pragma GCC diagnostic ignored "-Wcast-align"
#ifdef __clang__
#pragma GCC diagnostic ignored "-Wtautological-constant-out-of-range-compare"
@@ -1423,3 +1425,5 @@ int yescrypt_free_local(yescrypt_local_t *local)
{
return free_region(local);
}
+
+#endif /* INCLUDE_yescrypt */