Zserio C++ runtime library  1.1.0
Built for Zserio 2.15.0
RuntimeArch.h
Go to the documentation of this file.
1 #ifndef ZSERIO_RUNTIME_ARCH_H_INC
2 #define ZSERIO_RUNTIME_ARCH_H_INC
3 
4 #include "zserio/Types.h"
5 
6 #if UINTPTR_MAX == UINT64_MAX
7  #define ZSERIO_RUNTIME_64BIT
8 #elif UINTPTR_MAX == UINT32_MAX
9  #define ZSERIO_RUNTIME_32BIT
10 #else
11  #error "Unexpected CPU architecture!"
12 #endif
13 
14 #endif // ZSERIO_RUNTIME_ARCH_H_INC