SA_Support
Sapphire's Suite's C++ Support library.
Loading...
Searching...
No Matches
Include
SA
Support
Architectures.hpp
Go to the documentation of this file.
1
// Copyright (c) 2023 Sapphire's Suite. All Rights Reserved.
2
3
#pragma once
4
5
#ifndef SAPPHIRE_SUPPORT_ARCHITECTURES_GUARD
6
#define SAPPHIRE_SUPPORT_ARCHITECTURES_GUARD
7
20
#if defined(__x86_64__) || defined(_WIN64) || defined(DOXYGEN)
21
23
#define SA_x32 0
24
26
#define SA_x64 1
27
28
#else
29
31
#define SA_x32 1
32
34
#define SA_x64 0
35
36
#endif
37
38
39
#if defined(__arm__) || defined(_M_ARM)
40
42
#define SA_ARM 1
43
44
#else
45
47
#define SA_ARM 0
48
49
#endif
50
51
55
#endif
// GUARD
Generated by
1.10.0