summaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/platform_config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcryptobox/platform_config.h.in')
-rw-r--r--src/libcryptobox/platform_config.h.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/libcryptobox/platform_config.h.in b/src/libcryptobox/platform_config.h.in
new file mode 100644
index 0000000..7b7d17d
--- /dev/null
+++ b/src/libcryptobox/platform_config.h.in
@@ -0,0 +1,16 @@
+#ifndef PLATFORM_H_CONFIG
+#define PLATFORM_H_CONFIG
+
+#define ARCH "${ARCH}"
+#define CMAKE_ARCH_${ARCH} 1
+#cmakedefine HAVE_AVX2 1
+#cmakedefine HAVE_AVX 1
+#cmakedefine HAVE_SSE2 1
+#cmakedefine HAVE_SSE41 1
+#cmakedefine HAVE_SSE42 1
+#cmakedefine HAVE_SSE3 1
+#cmakedefine HAVE_SSSE3 1
+#cmakedefine HAVE_SLASHMACRO 1
+#cmakedefine HAVE_DOLLARMACRO 1
+
+#endif \ No newline at end of file