summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2010-05-04 18:43:43 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2010-05-04 18:43:43 (GMT)
commite2c496e2af8e0f2bc0aaa62e91810482234a2157 (patch)
treee4deec800b687f6f0fbf54898f74fa0132fca75a /Source
parent1d64fa884e55a31d1681657137470364c50797db (diff)
downloadCMake-e2c496e2af8e0f2bc0aaa62e91810482234a2157.zip
CMake-e2c496e2af8e0f2bc0aaa62e91810482234a2157.tar.gz
CMake-e2c496e2af8e0f2bc0aaa62e91810482234a2157.tar.bz2
Fix for bug #10542, allow this to build on Tru64
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/SystemTools.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index 9ab0fdf..afc7240 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -9,6 +9,13 @@
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License for more information.
============================================================================*/
+
+#ifdef __osf__
+# define _OSF_SOURCE
+# define _POSIX_C_SOURCE 199506L
+# define _XOPEN_SOURCE_EXTENDED
+#endif
+
#include "kwsysPrivate.h"
#include KWSYS_HEADER(RegularExpression.hxx)
#include KWSYS_HEADER(SystemTools.hxx)