diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-09-01 11:49:50 -0700 |
---|---|---|
committer | Jonas Karlsson <jonas.karlsson@qt.io> | 2023-11-14 08:42:31 +0000 |
commit | 9cfce4e33e2b745c15b465d5da932353036e7bcf (patch) | |
tree | cd4ca695c45f690e662b97dd9cfb6da45b718784 /src | |
parent | ed9c394c838dc2761294ee9e6abcf381ca7ee37c (diff) |
PhysX: Check for SSE to define __intXX_t
This helps to compile on x86 platforms as these defines are not
available there
Pick-to: 6.5 6.6
Change-Id: I3215166f3817a47f45985450c58703b8eef3c6e8
Reviewed-by: Jonas Karlsson <jonas.karlsson@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/3rdparty/PhysX/0001-PhysX-Check-for-SSE-to-define-__intXX_t.patch | 27 | ||||
-rw-r--r-- | src/3rdparty/PhysX/source/foundation/include/unix/sse2/PsUnixSse2AoS.h | 2 |
2 files changed, 28 insertions, 1 deletions
diff --git a/src/3rdparty/PhysX/0001-PhysX-Check-for-SSE-to-define-__intXX_t.patch b/src/3rdparty/PhysX/0001-PhysX-Check-for-SSE-to-define-__intXX_t.patch new file mode 100644 index 0000000..051af99 --- /dev/null +++ b/src/3rdparty/PhysX/0001-PhysX-Check-for-SSE-to-define-__intXX_t.patch @@ -0,0 +1,27 @@ +From 4245fd4922c9931fa2c19989fa8f0d2cad0512a0 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Fri, 1 Sep 2023 11:49:50 -0700 +Subject: [PATCH] PhysX: Check for SSE to define __intXX_t + +This helps to compile on x86 platforms as these defines are not +available there +--- + .../PhysX/source/foundation/include/unix/sse2/PsUnixSse2AoS.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/3rdparty/PhysX/source/foundation/include/unix/sse2/PsUnixSse2AoS.h b/src/3rdparty/PhysX/source/foundation/include/unix/sse2/PsUnixSse2AoS.h +index 847a21a..9a4fbb8 100644 +--- a/src/3rdparty/PhysX/source/foundation/include/unix/sse2/PsUnixSse2AoS.h ++++ b/src/3rdparty/PhysX/source/foundation/include/unix/sse2/PsUnixSse2AoS.h +@@ -43,7 +43,7 @@ namespace shdfnd + namespace aos + { + +-#if PX_EMSCRIPTEN ++#if PX_EMSCRIPTEN || PX_SSE2 + typedef int8_t __int8_t; + typedef int16_t __int16_t; + typedef int32_t __int32_t; +-- +2.42.0 + diff --git a/src/3rdparty/PhysX/source/foundation/include/unix/sse2/PsUnixSse2AoS.h b/src/3rdparty/PhysX/source/foundation/include/unix/sse2/PsUnixSse2AoS.h index 847a21a..9a4fbb8 100644 --- a/src/3rdparty/PhysX/source/foundation/include/unix/sse2/PsUnixSse2AoS.h +++ b/src/3rdparty/PhysX/source/foundation/include/unix/sse2/PsUnixSse2AoS.h @@ -43,7 +43,7 @@ namespace shdfnd namespace aos { -#if PX_EMSCRIPTEN +#if PX_EMSCRIPTEN || PX_SSE2 typedef int8_t __int8_t; typedef int16_t __int16_t; typedef int32_t __int32_t; |