changeset 3703:ab42a049fc9d

[project @ 2000-07-18 19:34:50 by jwe]
author jwe
date Tue, 18 Jul 2000 19:34:50 +0000
parents b63e78ccce8b
children aef06675c94d
files liboctave/ChangeLog liboctave/oct-time.cc
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/ChangeLog	Tue Jul 18 05:32:34 2000 +0000
+++ b/liboctave/ChangeLog	Tue Jul 18 19:34:50 2000 +0000
@@ -1,5 +1,7 @@
 2000-07-18  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
+	* oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions.
+
 	* Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list.
 
 2000-06-29  John W. Eaton  <jwe@bevo.che.wisc.edu>
--- a/liboctave/oct-time.cc	Tue Jul 18 05:32:34 2000 +0000
+++ b/liboctave/oct-time.cc	Tue Jul 18 19:34:50 2000 +0000
@@ -24,6 +24,12 @@
 #include <config.h>
 #endif
 
+// The following definitions are commented out because they cause
+// trouble on some systems.  What is really needed is a feature test
+// in the configure script.
+
+#if 0
+
 // I am told that without _BSD_SOURCE, tm_zone won't be declared on
 // some systems.  Defining _XOPEN_SOURCE provides the declaration for
 // strptime on some others.
@@ -43,6 +49,8 @@
 #define OCTAVE_UNDEFINE_XOPEN_SOURCE
 #endif
 
+#endif
+
 #include <climits>
 #include <cmath>