diff --git a/DynamicLoader.cxx b/DynamicLoader.cxx index 89d76158eb7b2846bfdc96fc7b5af299dc29f3d4..ce22f5a6c01a88ae5b23e4b9142b2fe26ea8d14d 100644 --- a/DynamicLoader.cxx +++ b/DynamicLoader.cxx @@ -437,7 +437,8 @@ const char* DynamicLoader::LastError() // --------------------------------------------------------------- // 5. Implementation for systems without dynamic libs // __gnu_blrts__ is IBM BlueGene/L -#ifdef __gnu_blrts__ +// __LIBCATAMOUNT__ is defined on Catamount on Cray compute nodes +#if defined(__gnu_blrts__) || defined(__LIBCATAMOUNT__) #include <string.h> // for strerror() #define DYNAMICLOADER_DEFINED 1