mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
pytime.h: remove duplicated "#ifndef Py_LIMITED_API"
This commit is contained in:
parent
cfd4661e78
commit
5791a5403b
1 changed files with 0 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue