Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5791a54

Browse files
committed
pytime.h: remove duplicated "#ifndef Py_LIMITED_API"
1 parent cfd4661 commit 5791a54

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Include/pytime.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ functions and constants
1313
extern "C" {
1414
#endif
1515

16-
#ifndef Py_LIMITED_API
17-
1816
#ifdef HAVE_GETTIMEOFDAY
1917
typedef struct timeval _PyTime_timeval;
2018
#else
@@ -96,7 +94,6 @@ PyAPI_FUNC(int) _PyTime_ObjectToTimespec(
9694
/* Initialize time.
9795
Return 0 on success, raise an exception and return -1 on error. */
9896
PyAPI_FUNC(int) _PyTime_Init(void);
99-
#endif /* Py_LIMITED_API */
10097

10198
#ifdef __cplusplus
10299
}

0 commit comments

Comments
 (0)