From 6c319310b88cca9a7880c210602426fbb6e9f519 Mon Sep 17 00:00:00 2001 From: Sam Haves Date: Wed, 30 Apr 2025 11:00:48 -0700 Subject: [PATCH] On Darwin archs, add ArchConstructEntry using to placate compile errors. PiperOrigin-RevId: 753235230 Change-Id: I621fd879ba1a0e6b7668454386f35ae76a190c13 --- src/experimental/usd/plugins/mjcf/mujoco_to_usd.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/experimental/usd/plugins/mjcf/mujoco_to_usd.cc b/src/experimental/usd/plugins/mjcf/mujoco_to_usd.cc index 832d1cf3..d4da714a 100644 --- a/src/experimental/usd/plugins/mjcf/mujoco_to_usd.cc +++ b/src/experimental/usd/plugins/mjcf/mujoco_to_usd.cc @@ -98,6 +98,9 @@ using pxr::Tf_RegistryInit; using pxr::TfEnum; template using Arch_PerLibInit = pxr::Arch_PerLibInit; +#if defined(ARCH_OS_DARWIN) +using Arch_ConstructorEntry = pxr::Arch_ConstructorEntry; +#endif enum ErrorCodes { UnsupportedGeomTypeError, MujocoCompilationError }; TF_REGISTRY_FUNCTION(pxr::TfEnum) {