diff --git a/docs/Doxyfile b/docs/Doxyfile index 4c1078a0c55..f5010ac55e7 100644 --- a/docs/Doxyfile +++ b/docs/Doxyfile @@ -2457,7 +2457,7 @@ INCLUDE_FILE_PATTERNS = # recursively expanded use the := operator instead of the = operator. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES. -PREDEFINED = +PREDEFINED = DOXYGEN # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this # tag can be used to specify a list of macro names that should be expanded. The diff --git a/src/platform/linux/wayland.h b/src/platform/linux/wayland.h index b1fd38b4350..cff16019252 100644 --- a/src/platform/linux/wayland.h +++ b/src/platform/linux/wayland.h @@ -17,7 +17,7 @@ * The classes defined in this macro block should only be used by * cpp files whose compilation depends on SUNSHINE_BUILD_WAYLAND */ -#ifdef SUNSHINE_BUILD_WAYLAND +#if defined(SUNSHINE_BUILD_WAYLAND) || defined(DOXYGEN) namespace wl { using display_internal_t = util::safe_ptr;