Jelajahi Sumber

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

Bill Hoffman 15 tahun lalu
induk
melakukan
e2c496e2af
1 mengubah file dengan 7 tambahan dan 0 penghapusan
  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)