summaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/platform_config.h.in
blob: d109a7cd0d5ae05c6ba094f005b8bd7fff6ea720 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef PLATFORM_H_CONFIG
#define PLATFORM_H_CONFIG

#define ARCH ${ARCH}
#cmakedefine HAVE_AVX2	1
#cmakedefine HAVE_AVX	1
#cmakedefine HAVE_SSE2	1
#cmakedefine HAVE_SLASHMACRO 1
#cmakedefine HAVE_DOLLARMACRO 1

#define CPUID_AVX2 0x1
#define CPUID_AVX 0x2
#define CPUID_SSE2 0x4

#endif