Commit 5791a540 authored by Victor Stinner's avatar Victor Stinner

pytime.h: remove duplicated "#ifndef Py_LIMITED_API"

parent cfd4661e
...@@ -13,8 +13,6 @@ functions and constants ...@@ -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( ...@@ -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
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment