Files
Viper_VRTE/platmacro.vp
T

58 lines
1.1 KiB
Plaintext

import t, c
define IS_WINDOWS = 1
define IS_WIN64 = 1
define IS_X86_64 = 1
define IS_LP64 = 1
define IS_LITTLE_ENDIAN = 1
define IS_LINUX = 0
define IS_MACOS = 0
define IS_ARM64 = 0
define IS_BIG_ENDIAN = 0
define IS_ILP32 = 0
define PTR_SIZE = 8
define INT_SIZE = 4
define LONG_SIZE = 4
define WORD_SIZE = 8
define CACHE_LINE_SIZE = 64
define PAGE_SIZE = 4096
define STACK_ALIGN = 16
define MAX_PATH_LEN = 260
define PLATFORM_NAME = 1
define ARCH_NAME = 1
define WINVER = 0x0A00
define _WIN32_WINNT = 0x0A00
define NTDDI_VERSION = 0x0A000006
define HAS_SSE2 = 1
define HAS_AVX = 1
define HAS_AVX2 = 1
define HAS_FMA = 1
define HAS_NEON = 0
define ALIGNOF_INT = 4
define ALIGNOF_LONG = 4
define ALIGNOF_PTR = 8
define ALIGNOF_DOUBLE = 8
define ALIGNOF_LONG_DOUBLE = 16
define SIZEOF_SHORT = 2
define SIZEOF_INT = 4
define SIZEOF_LONG = 4
define SIZEOF_LONG_LONG = 8
define SIZEOF_FLOAT = 4
define SIZEOF_DOUBLE = 8
define SIZEOF_LONG_DOUBLE = 16
define SIZEOF_POINTER = 8
define SIZEOF_SIZE_T = 8
define SIZEOF_PTRDIFF_T = 8
define BYTE_ORDER_LE = 1
define BYTE_ORDER_BE = 0