浏览代码

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

Bill Hoffman 15 年之前
父节点
当前提交
e2c496e2af
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      Source/kwsys/SystemTools.cxx

+ 7 - 0
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)