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