cpython/Include/mytime.h

39 lines
1017 B
C

/***********************************************************
Copyright (c) 2000, BeOpen.com.
Copyright (c) 1995-2000, Corporation for National Research Initiatives.
Copyright (c) 1990-1995, Stichting Mathematisch Centrum.
All rights reserved.
See the file "Misc/COPYRIGHT" for information on usage and
redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
******************************************************************/
/***************************************
THIS FILE IS OBSOLETE
USE "pyport.h" INSTEAD
***************************************/
#ifndef Py_MYTIME_H
#define Py_MYTIME_H
#ifdef __cplusplus
extern "C" {
#endif
/* Include file instead of <time.h> and/or <sys/time.h> */
#ifdef TIME_WITH_SYS_TIME
#include <sys/time.h>
#include <time.h>
#else /* !TIME_WITH_SYS_TIME */
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#else /* !HAVE_SYS_TIME_H */
#include <time.h>
#endif /* !HAVE_SYS_TIME_H */
#endif /* !TIME_WITH_SYS_TIME */
#ifdef __cplusplus
}
#endif
#endif /* !Py_MYTIME_H */