memgraph/utils/platform.hpp
2015-12-07 21:51:55 +01:00

13 lines
229 B
C++

#pragma once
#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