aboutsummaryrefslogtreecommitdiff
path: root/PxShared/src/pvd
diff options
context:
space:
mode:
Diffstat (limited to 'PxShared/src/pvd')
-rw-r--r--PxShared/src/pvd/include/PxProfileAllocatorWrapper.h2
-rw-r--r--PxShared/src/pvd/src/PxProfileEvents.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/PxShared/src/pvd/include/PxProfileAllocatorWrapper.h b/PxShared/src/pvd/include/PxProfileAllocatorWrapper.h
index 22903ec3..abac561d 100644
--- a/PxShared/src/pvd/include/PxProfileAllocatorWrapper.h
+++ b/PxShared/src/pvd/include/PxProfileAllocatorWrapper.h
@@ -74,7 +74,7 @@ namespace physx { namespace profile {
{
static const char* getName()
{
-#if PX_LINUX || PX_ANDROID || PX_PS4 || PX_IOS || PX_OSX || PX_EMSCRIPTEN || PX_NX
+#if PX_LINUX || PX_ANDROID || PX_PS4 || PX_IOS || PX_OSX || PX_EMSCRIPTEN || PX_SWITCH
return __PRETTY_FUNCTION__;
#else
return typeid(T).name();
diff --git a/PxShared/src/pvd/src/PxProfileEvents.h b/PxShared/src/pvd/src/PxProfileEvents.h
index 25f09d7b..c8a99890 100644
--- a/PxShared/src/pvd/src/PxProfileEvents.h
+++ b/PxShared/src/pvd/src/PxProfileEvents.h
@@ -103,7 +103,7 @@ namespace physx { namespace profile {
};
};
-#if (PX_PS4) || (PX_APPLE_FAMILY)
+#if (PX_PS4) || (PX_APPLE_FAMILY) || (PX_LINUX && PX_X86 && PX_CLANG)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wimplicit-fallthrough"
#endif
@@ -162,7 +162,7 @@ namespace physx { namespace profile {
return EventStreamCompressionFlags::U32;
}
-#if (PX_PS4) || (PX_APPLE_FAMILY)
+#if (PX_PS4) || (PX_APPLE_FAMILY) || (PX_LINUX && PX_X86 && PX_CLANG)
#pragma clang diagnostic pop
#endif