ENH: port time.pxd from cython
Until cython3 is out, we port it here.  This will allow a cython implementation of dateutil's tzlocal, which will [yak-shaving] for non-nano dt64/td64.
> Actually, looks like this doesn't build on windows?

Well that doesn't look good.  @scoder area the analogous tests not run on any windows builds in the cython CI? > are the analogous tests not run on any windows builds in the cython CI?

`libc/time.pxd` is different in 0.29.x. It still contains two struct fields that were commented out in 3.0 because they are GNU specific. Removing them from 0.29.x would be a backwards incompatible change, though.

https://github.com/cython/cython/blob/f0ccd6851e80654585fa6acb7a0626bf615857fe/Cython/Includes/libc/time.pxd
https://github.com/cython/cython/commit/1a6bba912fee840fc32b6a4d3288d57a12369820

Note that the field declarations shouldn't hurt as long as you're not trying to (auto-)convert the struct into a Python dict. So you can probably get by with adapting the ~tests~ Python exposed functions. > pandas/tests/tslibs/test_ctime.py:10: error: Module "pandas._libs.tslibs" has no attribute "ctime"  [attr-defined] Thanks @jbrockmendel 