thierry-martinez / pyml

OCaml bindings for Python
BSD 2-Clause "Simplified" License
182 stars 31 forks source link

BSDs not considered in pyml_arch.ml.c #74

Closed drchrispinnock closed 2 years ago

drchrispinnock commented 2 years ago

If FreeBSD, NetBSD or OpenBSD are defined, it should be possible to use the same fd_of_int outcome as Mac & Linux.

UnixJunkie commented 2 years ago

Maybe you can try a fix on your OS and propose a patch if that solves your problem.

thierry-martinez commented 2 years ago

Thank you for the report, and sorry for the so long delay. This should be fixed in a7c8da4.

drchrispinnock commented 7 months ago

Hi @thierry-martinez - unfortunately on at least one of them (NetBSD), unix does not seem to be defined. unix is. I've successfully build pyml today on NetBSD by also checking for unix in pyml_arch.ml.c