mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +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" {
|
||||
#endif
|
||||
|
||||
#ifndef Py_LIMITED_API
|
||||
|
||||
#ifdef HAVE_GETTIMEOFDAY
|
||||
typedef struct timeval _PyTime_timeval;
|
||||
#else
|
||||
|
|
@ -96,7 +94,6 @@ PyAPI_FUNC(int) _PyTime_ObjectToTimespec(
|
|||
/* Initialize time.
|
||||
Return 0 on success, raise an exception and return -1 on error. */
|
||||
PyAPI_FUNC(int) _PyTime_Init(void);
|
||||
#endif /* Py_LIMITED_API */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue