diff --git a/src/xrt/include/xrt/xrt_compiler.h b/src/xrt/include/xrt/xrt_compiler.h index a8ab6d0b1..4d5468d86 100644 --- a/src/xrt/include/xrt/xrt_compiler.h +++ b/src/xrt/include/xrt/xrt_compiler.h @@ -54,13 +54,14 @@ #endif +#ifdef XRT_DOXYGEN /*! - * @define XRT_DEBUGBREAK() * To trigger a trap/break in the debugger. * * @ingroup xrt_iface */ -#if defined(__clang__) || defined(__GNUC__) +#define XRT_DEBUGBREAK() +#elif defined(__clang__) || defined(__GNUC__) #define XRT_DEBUGBREAK() __builtin_trap() #elif defined(_MSC_VER) #include @@ -81,8 +82,6 @@ #endif /*! - * @define container_of(ptr, type, field) - * * Get the holder from a pointer to a field. * * @ingroup xrt_iface