| 1 | /* |
| 2 | * Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved. |
| 3 | * |
| 4 | * NVIDIA CORPORATION and its licensors retain all intellectual property |
| 5 | * and proprietary rights in and to this software, related documentation |
| 6 | * and any modifications thereto. Any use, reproduction, disclosure or |
| 7 | * distribution of this software and related documentation without an express |
| 8 | * license agreement from NVIDIA CORPORATION is strictly prohibited. |
| 9 | */ |
| 10 | // Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved. |
| 11 | // Copyright (c) 2001-2004 NovodeX AG. All rights reserved. |
| 12 | |
| 13 | |
| 14 | #ifndef PX_FOUNDATION_PX_INTRINSICS_H |
| 15 | #define PX_FOUNDATION_PX_INTRINSICS_H |
| 16 | |
| 17 | #include "foundation/PxPreprocessor.h" |
| 18 | |
| 19 | |
| 20 | #if (defined PX_WINDOWS || defined PX_WINMODERN) |
| 21 | #include "foundation/windows/PxWindowsIntrinsics.h" |
| 22 | #elif defined PX_X360 |
| 23 | #include "foundation/xbox360/PxXbox360Intrinsics.h" |
| 24 | #elif (defined PX_LINUX || defined PX_ANDROID || defined PX_APPLE || defined PX_PS4) |
| 25 | #include "foundation/unix/PxUnixIntrinsics.h" |
| 26 | #elif defined PX_PS3 |
| 27 | #include "foundation/ps3/PxPS3Intrinsics.h" |
| 28 | #elif defined PX_PSP2 |
| 29 | #include "foundation/psp2/PxPSP2Intrinsics.h" |
| 30 | #elif defined PX_WIIU |
| 31 | #include "foundation/wiiu/PxWiiUIntrinsics.h" |
| 32 | #elif defined PX_XBOXONE |
| 33 | #include "foundation/XboxOne/PxXboxOneIntrinsics.h" |
| 34 | #else |
| 35 | #error "Platform not supported!" |
| 36 | #endif |
| 37 | |
| 38 | |
| 39 | #endif // PX_FOUNDATION_PX_INTRINSICS_H |
| 40 | |