1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 10:05:05 -07:00

Define HAVE_CET_H for zig cc

This commit is contained in:
Frank Denis 2023-07-21 05:48:23 +02:00
parent 890905f946
commit 004c8bee84

View File

@ -44,6 +44,7 @@ pub fn build(b: *std.build.Builder) !void {
lib.defineCMacro("DEV_MODE", "1");
lib.defineCMacro("HAVE_ATOMIC_OPS", "1");
lib.defineCMacro("HAVE_C11_MEMORY_FENCES", "1");
lib.defineCMacro("HAVE_CET_H", "1");
lib.defineCMacro("HAVE_GCC_MEMORY_FENCES", "1");
lib.defineCMacro("HAVE_INLINE_ASM", "1");
lib.defineCMacro("HAVE_INTTYPES_H", "1");