diff --git a/Source/kwsys/DynamicLoader.cxx b/Source/kwsys/DynamicLoader.cxx index efab65a5c..0c73d7af1 100644 --- a/Source/kwsys/DynamicLoader.cxx +++ b/Source/kwsys/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 // for strerror() #define DYNAMICLOADER_DEFINED 1