ScaleWeather / eccodes

Unofficial high-level Rust bindings of the latest ecCodes release.
Apache License 2.0
7 stars 6 forks source link

fix: conditional compiling for macos build #5

Closed aroblast closed 8 months ago

aroblast commented 11 months ago

This PR fixes compiling on MacOS. It uses conditional compiling to switch type of __IO_FILE to __sFILE on MacOS.

Feel free to cleanup this code, I'm new to Rust and this code might not reflect good practises.