[Cmake-commits] CMake branch, master, updated. e2c496e2af8e0f2bc0aaa62e91810482234a2157

cmake-commits at cmake.org cmake-commits at cmake.org
Tue May 4 14:50:03 EDT 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, master has been updated
       via  e2c496e2af8e0f2bc0aaa62e91810482234a2157 (commit)
      from  1d64fa884e55a31d1681657137470364c50797db (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e2c496e2af8e0f2bc0aaa62e91810482234a2157
commit e2c496e2af8e0f2bc0aaa62e91810482234a2157
Author: Bill Hoffman <bill.hoffman at kitware.com>
Date:   Tue May 4 14:43:43 2010 -0400

    Fix for bug #10542, allow this to build on Tru64

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)

-----------------------------------------------------------------------

Summary of changes:
 Source/kwsys/SystemTools.cxx |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list