summaryrefslogtreecommitdiff
path: root/graphics/ogre3d/files/patch-OgreMain_include_OgreBitwise.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ogre3d/files/patch-OgreMain_include_OgreBitwise.h')
-rw-r--r--graphics/ogre3d/files/patch-OgreMain_include_OgreBitwise.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/ogre3d/files/patch-OgreMain_include_OgreBitwise.h b/graphics/ogre3d/files/patch-OgreMain_include_OgreBitwise.h
new file mode 100644
index 000000000000..2e21996f73b0
--- /dev/null
+++ b/graphics/ogre3d/files/patch-OgreMain_include_OgreBitwise.h
@@ -0,0 +1,12 @@
+--- OgreMain/include/OgreBitwise.h.orig 2021-08-04 18:33:45 UTC
++++ OgreMain/include/OgreBitwise.h
+@@ -29,6 +29,9 @@ ------------------------------------------------------
+ #define _Bitwise_H__
+
+ #include "OgrePrerequisites.h"
++#undef bswap16
++#undef bswap32
++#undef bswap64
+
+ #ifdef bswap16
+ #undef bswap16