Guido van Rossum | 60a578a | 1993-12-24 10:32:48 +0000 | [diff] [blame] | 1 | #ifndef Py_MYTIME_H |
| 2 | #define Py_MYTIME_H |
| 3 | #ifdef __cplusplus |
| 4 | extern "C" { |
| 5 | #endif |
| 6 | |
| 7 | /*********************************************************** |
Guido van Rossum | fd71b9e | 2000-06-30 23:50:40 +0000 | [diff] [blame] | 8 | Copyright (c) 2000, BeOpen.com. |
| 9 | Copyright (c) 1995-2000, Corporation for National Research Initiatives. |
| 10 | Copyright (c) 1990-1995, Stichting Mathematisch Centrum. |
| 11 | All rights reserved. |
Guido van Rossum | 60a578a | 1993-12-24 10:32:48 +0000 | [diff] [blame] | 12 | |
Guido van Rossum | fd71b9e | 2000-06-30 23:50:40 +0000 | [diff] [blame] | 13 | See the file "Misc/COPYRIGHT" for information on usage and |
| 14 | redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. |
Guido van Rossum | 60a578a | 1993-12-24 10:32:48 +0000 | [diff] [blame] | 15 | ******************************************************************/ |
| 16 | |
Peter Schneider-Kamp | 7e01890 | 2000-07-31 15:28:04 +0000 | [diff] [blame] | 17 | /*************************************** |
| 18 | THIS FILE IS OBSOLETE |
| 19 | USE "pyport.h" INSTEAD |
| 20 | ***************************************/ |
| 21 | |
Guido van Rossum | 60a578a | 1993-12-24 10:32:48 +0000 | [diff] [blame] | 22 | /* Include file instead of <time.h> and/or <sys/time.h> */ |
| 23 | |
| 24 | #ifdef TIME_WITH_SYS_TIME |
| 25 | #include <sys/time.h> |
| 26 | #include <time.h> |
| 27 | #else /* !TIME_WITH_SYS_TIME */ |
| 28 | #ifdef HAVE_SYS_TIME_H |
| 29 | #include <sys/time.h> |
| 30 | #else /* !HAVE_SYS_TIME_H */ |
| 31 | #include <time.h> |
| 32 | #endif /* !HAVE_SYS_TIME_H */ |
| 33 | #endif /* !TIME_WITH_SYS_TIME */ |
| 34 | |
| 35 | #ifdef __cplusplus |
| 36 | } |
| 37 | #endif |
| 38 | #endif /* !Py_MYTIME_H */ |