changeset 3496:c800b7fb7d64

[project @ 2000-01-29 19:34:14 by jwe]
author jwe
date Sat, 29 Jan 2000 19:34:14 +0000
parents 88eeb67a360e
children 1807b75711df
files liboctave/ChangeLog liboctave/oct-time.cc
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/ChangeLog	Sat Jan 29 00:02:06 2000 +0000
+++ b/liboctave/ChangeLog	Sat Jan 29 19:34:14 2000 +0000
@@ -1,3 +1,7 @@
+2000-01-29  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* oct-time.cc [! HAVE_STRPTIME]: Provide declaration.
+
 2000-01-28  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* Array2.h (Array2<T>::get_size): Now protected instead of private.
--- a/liboctave/oct-time.cc	Sat Jan 29 00:02:06 2000 +0000
+++ b/liboctave/oct-time.cc	Sat Jan 29 19:34:14 2000 +0000
@@ -32,6 +32,10 @@
 #define __USE_XOPEN
 #include "oct-time.h"
 
+#if !defined (HAVE_STRPTIME)
+extern char *strptime (const char *buf, const char *format, struct tm *tm);
+#endif
+
 octave_time::octave_time (const octave_base_tm& tm)
 {
   struct tm t;