diff --git a/sources/PhysX/PxShared/include/foundation/PxPreprocessor.h b/sources/PhysX/PxShared/include/foundation/PxPreprocessor.h index 0cd67190..608cc3fd 100644 --- a/sources/PhysX/PxShared/include/foundation/PxPreprocessor.h +++ b/sources/PhysX/PxShared/include/foundation/PxPreprocessor.h @@ -96,7 +96,7 @@ Operating system defines, see http://sourceforge.net/p/predef/wiki/OperatingSyst #define PX_WIN32 1 #elif defined(__ANDROID__) #define PX_ANDROID 1 -#elif defined(__OHOS__)//openharmony +#elif defined(__OPENHARMONY__)//openharmony #define PX_ANDROID 1 #define PX_OPENHARMONY 1 #elif defined(__linux__) || defined (__EMSCRIPTEN__) // note: __ANDROID__ implies __linux__