aboutsummaryrefslogtreecommitdiff
path: root/games/fs2open/files/patch-code_graphics_openxr__internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'games/fs2open/files/patch-code_graphics_openxr__internal.h')
-rw-r--r--games/fs2open/files/patch-code_graphics_openxr__internal.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/games/fs2open/files/patch-code_graphics_openxr__internal.h b/games/fs2open/files/patch-code_graphics_openxr__internal.h
new file mode 100644
index 000000000000..32b81e952150
--- /dev/null
+++ b/games/fs2open/files/patch-code_graphics_openxr__internal.h
@@ -0,0 +1,18 @@
+--- code/graphics/openxr_internal.h.orig 2025-11-04 13:00:12 UTC
++++ code/graphics/openxr_internal.h
+@@ -7,7 +7,7 @@
+ #include <type_traits>
+ #include <tl/optional.hpp>
+
+-#ifndef __APPLE_CC__
++#if !defined(__APPLE_CC__) && !defined(__FreeBSD__)
+
+ #include <openxr/openxr.h>
+ #include <openxr/openxr_platform.h>
+@@ -51,4 +51,4 @@ tl::optional<typename std::result_of<openxr_fnc(arg_t.
+ return func(std::forward<arg_t>(args)...);
+ }
+
+-#endif
+\ No newline at end of file
++#endif