aboutsummaryrefslogtreecommitdiff
path: root/PxShared/include/foundation/PxFoundation.h
diff options
context:
space:
mode:
authorMarijn Tamis <[email protected]>2017-10-20 14:30:56 +0200
committerMarijn Tamis <[email protected]>2017-10-20 14:36:12 +0200
commitfabb251458f4a2d6d4f87dd36038fac2774b378c (patch)
tree68a4a0ecd940dc949e0477d521d8c159968cfcd5 /PxShared/include/foundation/PxFoundation.h
parentNvCloth 1.1.2 Release. (22576033) (diff)
downloadarchived-nvcloth-1.1.3.tar.xz
archived-nvcloth-1.1.3.zip
NvCloth 1.1.3 Release. (23014067)v1.1.3
Diffstat (limited to 'PxShared/include/foundation/PxFoundation.h')
-rw-r--r--PxShared/include/foundation/PxFoundation.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/PxShared/include/foundation/PxFoundation.h b/PxShared/include/foundation/PxFoundation.h
index 8642c16..aae84a9 100644
--- a/PxShared/include/foundation/PxFoundation.h
+++ b/PxShared/include/foundation/PxFoundation.h
@@ -126,7 +126,18 @@ PxCreateFoundation(physx::PxU32 version, physx::PxAllocatorCallback& allocator,
@see PxCreateFoundation()
*/
+#if PX_CLANG
+#if PX_LINUX
+ #pragma clang diagnostic push
+ #pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
+#endif // PX_LINUX
+#endif // PX_CLANG
PX_C_EXPORT PX_FOUNDATION_API physx::PxFoundation& PX_CALL_CONV PxGetFoundation();
+#if PX_CLANG
+#if PX_LINUX
+ #pragma clang diagnostic pop
+#endif // PX_LINUX
+#endif // PX_CLANG
namespace physx
{