Thriftpy / thriftpy2

Pure python approach of Apache Thrift.
MIT License
562 stars 89 forks source link

Support cythonized ext on Windows #258

Closed aisk closed 3 months ago

aisk commented 3 months ago

I found that it's very easy to support it on Windows. The only issue in the current master branch is that endian_port.h doesn't support Windows.

So I tried to use https://gist.github.com/panzi/6856583 to replace the old one. It's also used by Google's Fuchsia: https://fuchsia.googlesource.com/third_party/iperf/+/3.1.5/src/portable_endian.h so I assume that it have basic quality guarantee.

aisk commented 3 months ago

Needs rebase with #259 before landing.