justinethier / cyclone

:cyclone: A brand-new compiler that allows practical application development using R7RS Scheme. We provide modern features and a stable system capable of generating fast native binaries.
http://justinethier.github.io/cyclone/
MIT License
823 stars 42 forks source link

Define *ai-v4mapped* to zero on platforms where AI_V4MAPPED is undefined #528

Closed yorickhardy closed 5 months ago

yorickhardy commented 5 months ago

This change defines *ai-v4mapped* to zero when AI_V4MAPPED is undefined and similarly for *ai-all* (similar to other patches). This allows (srfi 106) to be available on NetBSD and other platforms without AI_V4MAPPED and is the recommended behaviour by the author of SRFI-106:

https://srfi-email.schemers.org/srfi-106/msg/2762553/

justinethier commented 5 months ago

Thanks for the PR @yorickhardy! And appreciate that you included a link to the mailing list discussion.