memgraph/include/utils/platform.hpp

13 lines
229 B
C++
Raw Normal View History

#pragma once
2015-06-22 08:26:41 +08:00
#include <cstdint>
// is there a better way?
#if UINTPTR_MAX == 0xffffffff
#define MEMGRAPH32
#elif UINTPTR_MAX == 0xffffffffffffffff
#define MEMGRAPH64
#else
#error Unrecognized platform (neither 32 or 64)
#endif