From 96a061e1b1ab2318ea841cd9a391ba70c7cabc34 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 27 Apr 2026 14:42:10 -0400 Subject: [PATCH] SDL_openxr.h: Wrap some non-SDL pieces in `!SDL_WIKI_DOCUMENTATION_SECTION`. --- include/SDL3/SDL_openxr.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/SDL3/SDL_openxr.h b/include/SDL3/SDL_openxr.h index 3328c01d77..bff2d73d12 100644 --- a/include/SDL3/SDL_openxr.h +++ b/include/SDL3/SDL_openxr.h @@ -40,6 +40,8 @@ extern "C" { #endif +#ifndef SDL_WIKI_DOCUMENTATION_SECTION + #if defined(OPENXR_H_) #define NO_SDL_OPENXR_TYPEDEFS 1 #endif /* OPENXR_H_ */ @@ -78,6 +80,9 @@ typedef enum XrResult { #define PFN_xrGetInstanceProcAddr SDL_FunctionPointer #endif /* NO_SDL_OPENXR_TYPEDEFS */ +#endif /* !SDL_WIKI_DOCUMENTATION_SECTION */ + + /** * Creates an OpenXR session. *