--- CPP_INTERFACE/CPPWrapper.cpp 2026-01-23 05:35:17.000000000 +0800 +++ CPP_INTERFACE/CPPWrapper.cpp 2026-06-22 17:16:35.000000000 +0800 @@ -33,6 +33,9 @@ #include #include +#ifndef HOST_NAME_MAX +#define HOST_NAME_MAX _POSIX_HOST_NAME_MAX +#endif #define OMPI_SKIP_MPICXX 1 #ifdef HAVE_MPI