summaryrefslogtreecommitdiff
path: root/zen/build_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/build_info.h')
-rw-r--r--zen/build_info.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/zen/build_info.h b/zen/build_info.h
index adb19f86..5a1d1635 100644
--- a/zen/build_info.h
+++ b/zen/build_info.h
@@ -7,6 +7,7 @@
#ifndef BUILD_INFO_H_5928539285603428657
#define BUILD_INFO_H_5928539285603428657
+
#define ZEN_ARCH_32BIT 32
#define ZEN_ARCH_64BIT 64
@@ -18,4 +19,15 @@
static_assert(ZEN_BUILD_ARCH == sizeof(void*) * 8);
+
+namespace zen
+{
+ #if ZEN_BUILD_ARCH == ZEN_ARCH_32BIT
+ const char cpuArchName[] = "i686";
+ #else
+ const char cpuArchName[] = "x86-64";
+ #endif
+
+}
+
#endif //BUILD_INFO_H_5928539285603428657
bgstack15