summaryrefslogtreecommitdiff
path: root/zap/include-priv
diff options
context:
space:
mode:
Diffstat (limited to 'zap/include-priv')
-rw-r--r--zap/include-priv/zap/priv.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/zap/include-priv/zap/priv.h b/zap/include-priv/zap/priv.h
new file mode 100644
index 0000000..b051589
--- /dev/null
+++ b/zap/include-priv/zap/priv.h
@@ -0,0 +1,19 @@
+/*
+ Copyright 2022 Gabriel Jensen.
+ This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
+ If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
+*/
+
+#if !defined(zap_hdr_priv)
+#define zap_hdr_priv
+
+#include <zap/base.h>
+
+#include <stddef.h>
+#include <stdint.h>
+
+#if (defined(sus_cmpl_gnu) || defined(sus_cmpl_llvm)) && defined(sus_os_unix) && !defined(zap_priv_noasm) && (defined(sus_arch_amd64) || defined(sus_arch_ia32))
+#define zap_priv_fastimpl
+#endif
+
+#endif