Zserio C++17 runtime library 1.3.0
Built for Zserio 2.20.0
Loading...
Searching...
No Matches
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 <cstdint>
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