annotate src/systime.h @ 884:d92f1ea6d0cd

[project @ 1994-11-06 00:42:40 by jwe]
author jwe
date Sun, 06 Nov 1994 00:42:40 +0000
parents 29bc04411213
children dfe01093f657
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
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
4 Copyright (C) 1992, 1993, 1994 John W. Eaton
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
29bc04411213 [project @ 1994-10-12 15:40:22 by jwe]
jwe
parents:
diff changeset
20 Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
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 */