EHS
Architecture.h
Go to the documentation of this file.
1#pragma once
2
3#if defined(_M_AMD64) || defined(_M_X64) || defined(__x86_64__)
4 #define EHS_LITTLE_ENDIAN
5 #define EHS_ARCH_X64
6 #define EHS_64_BIT
7#elif defined(_M_ARM64) || defined(__aarch64__)
8 #define EHS_LITTLE_ENDIAN
9 #define EHS_ARCH_ARM64
10 #define EHS_64_BIT
11#else
12 #error Unsupported architecture.
13#endif