diff --git a/base/os.h b/base/os.h index 5957fc3..5d08c4f 100644 --- a/base/os.h +++ b/base/os.h @@ -60,12 +60,4 @@ #endif #endif -#ifdef RobotGo_64 - typedef int64_t intptr; - typedef uint64_t uintptr; -#else - typedef int32_t intptr; - typedef uint32_t uintptr; // Unsigned pointer integer -#endif - #endif /* OS_H */ diff --git a/base/types.h b/base/types.h index 4b88a1d..0e68a83 100644 --- a/base/types.h +++ b/base/types.h @@ -9,6 +9,14 @@ /* Some generic, cross-platform types. */ +#ifdef RobotGo_64 + typedef int64_t intptr; + typedef uint64_t uintptr; +#else + typedef int32_t intptr; + typedef uint32_t uintptr; // Unsigned pointer integer +#endif + struct _MMPoint { size_t x; size_t y;