Commit 1a6bba91 authored by Stefan Behnel's avatar Stefan Behnel

Remove GNU specific "tm" struct fields "tm_zone" and "tm_gmtoff" from...

Remove GNU specific "tm" struct fields "tm_zone" and "tm_gmtoff" from libc/time.pxd because they get in the way of automatic struct conversions.
See https://github.com/cython/cython/issues/3733
parent e5713e24
...@@ -20,8 +20,9 @@ cdef extern from "<time.h>" nogil: ...@@ -20,8 +20,9 @@ cdef extern from "<time.h>" nogil:
int tm_wday int tm_wday
int tm_yday int tm_yday
int tm_isdst int tm_isdst
char *tm_zone # GNU specific extensions
long tm_gmtoff #char *tm_zone
#long tm_gmtoff
int daylight # global state int daylight # global state
long timezone long timezone
......
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