pytime.h: remove duplicated "#ifndef Py_LIMITED_API"
This commit is contained in:
parent
cfd4661e78
commit
5791a5403b
|
@ -13,8 +13,6 @@ functions and constants
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef Py_LIMITED_API
|
|
||||||
|
|
||||||
#ifdef HAVE_GETTIMEOFDAY
|
#ifdef HAVE_GETTIMEOFDAY
|
||||||
typedef struct timeval _PyTime_timeval;
|
typedef struct timeval _PyTime_timeval;
|
||||||
#else
|
#else
|
||||||
|
@ -96,7 +94,6 @@ PyAPI_FUNC(int) _PyTime_ObjectToTimespec(
|
||||||
/* Initialize time.
|
/* Initialize time.
|
||||||
Return 0 on success, raise an exception and return -1 on error. */
|
Return 0 on success, raise an exception and return -1 on error. */
|
||||||
PyAPI_FUNC(int) _PyTime_Init(void);
|
PyAPI_FUNC(int) _PyTime_Init(void);
|
||||||
#endif /* Py_LIMITED_API */
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue