annotate Include/mytime.h @ 5817:48b94de85bf3 legacy-trunk

Extensive changes by AMK.
author Guido van Rossum <guido@python.org>
date Thu, 17 Jul 1997 16:29:42 +0000
parents 65d2d8e67da3
children 916fb024ce94
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1451
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
1 #ifndef Py_MYTIME_H
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
2 #define Py_MYTIME_H
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
3 #ifdef __cplusplus
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
4 extern "C" {
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
5 #endif
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
6
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
7 /***********************************************************
2058
508036dbba3b Added 1995 copyright.
Guido van Rossum <guido@python.org>
parents: 1746
diff changeset
8 Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
508036dbba3b Added 1995 copyright.
Guido van Rossum <guido@python.org>
parents: 1746
diff changeset
9 The Netherlands.
1451
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
10
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
11 All Rights Reserved
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
12
4503
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 2058
diff changeset
13 Permission to use, copy, modify, and distribute this software and its
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 2058
diff changeset
14 documentation for any purpose and without fee is hereby granted,
1451
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
15 provided that the above copyright notice appear in all copies and that
4503
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 2058
diff changeset
16 both that copyright notice and this permission notice appear in
1451
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
17 supporting documentation, and that the names of Stichting Mathematisch
4503
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 2058
diff changeset
18 Centrum or CWI or Corporation for National Research Initiatives or
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 2058
diff changeset
19 CNRI not be used in advertising or publicity pertaining to
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 2058
diff changeset
20 distribution of the software without specific, written prior
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 2058
diff changeset
21 permission.
1451
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
22
4503
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 2058
diff changeset
23 While CWI is the initial source for this software, a modified version
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 2058
diff changeset
24 is made available by the Corporation for National Research Initiatives
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 2058
diff changeset
25 (CNRI) at the Internet address ftp://ftp.python.org.
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 2058
diff changeset
26
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 2058
diff changeset
27 STICHTING MATHEMATISCH CENTRUM AND CNRI DISCLAIM ALL WARRANTIES WITH
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 2058
diff changeset
28 REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 2058
diff changeset
29 MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 2058
diff changeset
30 CENTRUM OR CNRI BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 2058
diff changeset
31 DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 2058
diff changeset
32 PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 2058
diff changeset
33 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 2058
diff changeset
34 PERFORMANCE OF THIS SOFTWARE.
1451
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
35
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
36 ******************************************************************/
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
37
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
38 /* Include file instead of <time.h> and/or <sys/time.h> */
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
39
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
40 #ifdef TIME_WITH_SYS_TIME
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
41 #include <sys/time.h>
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
42 #include <time.h>
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
43 #else /* !TIME_WITH_SYS_TIME */
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
44 #ifdef HAVE_SYS_TIME_H
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
45 #include <sys/time.h>
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
46 #else /* !HAVE_SYS_TIME_H */
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
47 #include <time.h>
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
48 #endif /* !HAVE_SYS_TIME_H */
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
49 #endif /* !TIME_WITH_SYS_TIME */
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
50
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
51 #ifdef __cplusplus
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
52 }
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
53 #endif
a8932a4b9624 New files
Guido van Rossum <guido@python.org>
parents:
diff changeset
54 #endif /* !Py_MYTIME_H */