summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/DynamicLoader.cxx
diff options
context:
space:
mode:
authorPat Marion <pat.marion@kitware.com>2010-03-22 14:54:18 (GMT)
committerPat Marion <pat.marion@kitware.com>2010-03-22 14:54:18 (GMT)
commitfc4e7dcec0b4f87a96866a01621aaaffc04fa6f0 (patch)
tree2d863f89a7ff82c95f1e9c91c75896956ebedf3b /Source/kwsys/DynamicLoader.cxx
parent9fd691636241b6456a0e83ab0c326a29430c4bbd (diff)
downloadCMake-fc4e7dcec0b4f87a96866a01621aaaffc04fa6f0.zip
CMake-fc4e7dcec0b4f87a96866a01621aaaffc04fa6f0.tar.gz
CMake-fc4e7dcec0b4f87a96866a01621aaaffc04fa6f0.tar.bz2
ENH: Adding symbol for cray compute linux to DynamicLoader.cxx
Diffstat (limited to 'Source/kwsys/DynamicLoader.cxx')
-rw-r--r--Source/kwsys/DynamicLoader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/DynamicLoader.cxx b/Source/kwsys/DynamicLoader.cxx
index a337031..58e02c7 100644
--- a/Source/kwsys/DynamicLoader.cxx
+++ b/Source/kwsys/DynamicLoader.cxx
@@ -444,7 +444,7 @@ const char* DynamicLoader::LastError()
// 5. Implementation for systems without dynamic libs
// __gnu_blrts__ is IBM BlueGene/L
// __LIBCATAMOUNT__ is defined on Catamount on Cray compute nodes
-#if defined(__gnu_blrts__) || defined(__LIBCATAMOUNT__)
+#if defined(__gnu_blrts__) || defined(__LIBCATAMOUNT__) || defined(__CRAYXT_COMPUTE_LINUX_TARGET)
#include <string.h> // for strerror()
#define DYNAMICLOADER_DEFINED 1