Skip to content

Commit fd2bc65

Browse files
committed
Refs #23440: Add new _PLAFORM_32/64 BITS
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
1 parent d7f2d7c commit fd2bc65

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

cpp_utils/include/cpp_utils/macros/macros.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,11 @@ namespace utils {
8787
#define _EPROSIMA_WINDOWS_PLATFORM 1
8888
#endif // if defined(WIN32) || defined(_WIN32) || defined(__WIN32) || defined(WIN64) || defined(_WIN64) || defined(__WIN64) || defined(_MSC_VER)
8989

90+
#if defined(WIN64) || defined(_WIN64) || defined(__WIN64) || defined(_WIN64) || defined(__x86_64__) || defined(__ppc64__) || defined(__aarch64__)
91+
#define _PLATFORM_64BIT 1
92+
#else
93+
#define _PLATFORM_32BIT 1
94+
#endif
95+
9096
} /* namespace utils */
9197
} /* namespace eprosima */

0 commit comments

Comments
 (0)