diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2010-05-04 18:43:43 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2010-05-04 18:43:43 (GMT) |
commit | e2c496e2af8e0f2bc0aaa62e91810482234a2157 (patch) | |
tree | e4deec800b687f6f0fbf54898f74fa0132fca75a /Source | |
parent | 1d64fa884e55a31d1681657137470364c50797db (diff) | |
download | CMake-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.cxx | 7 |
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) |