annotate src/systime.h @ 1315:611d403c7f3d

[project @ 1995-06-25 19:56:32 by jwe]
author jwe
date Sun, 25 Jun 1995 19:56:32 +0000
parents dfe01093f657
children e62277bf5fe0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
791
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
1 // systime.h -*- C++ -*-
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
2 /*
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
3
1009
dfe01093f657 [project @ 1995-01-04 04:05:12 by jwe]
jwe
parents: 791
diff changeset
4 Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton
791
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
5
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
6 This file is part of Octave.
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
7
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
8 Octave is free software; you can redistribute it and/or modify it
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
9 under the terms of the GNU General Public License as published by the
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
10 Free Software Foundation; either version 2, or (at your option) any
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
11 later version.
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
12
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
13 Octave is distributed in the hope that it will be useful, but WITHOUT
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
16 for more details.
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
17
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
18 You should have received a copy of the GNU General Public License
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
19 along with Octave; see the file COPYING. If not, write to the Free
1315
611d403c7f3d [project @ 1995-06-25 19:56:32 by jwe]
jwe
parents: 1009
diff changeset
20 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
791
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
21
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
22 */
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
23
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
24 #if !defined (octave_systime_h)
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
25 #define octave_systime_h 1
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
26
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
27 #ifdef TIME_WITH_SYS_TIME
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
28 #include <sys/time.h>
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
29 #include <time.h>
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
30 #else
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
31 #ifdef HAVE_SYS_TIME_H
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
32 #include <sys/time.h>
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
33 #else
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
34 #include <time.h>
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
35 #endif
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
36 #endif
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
37
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
38 #endif
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
39
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
40 /*
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
41 ;;; Local Variables: ***
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
42 ;;; mode: C++ ***
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
43 ;;; page-delimiter: "^/\\*" ***
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
44 ;;; End: ***
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
45 */