www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22453] New: OpenBSD: Add a dummy value for AI_V4MAPPED


          Issue ID: 22453
           Summary: OpenBSD: Add a dummy value for AI_V4MAPPED
           Product: D
           Version: D2
          Hardware: All
                OS: Other
            Status: NEW
          Severity: minor
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: bcallah openbsd.org

OpenBSD doesn't support AI_V4MAPPED but real-world D code assumes its presence.
Add a dummy value of 0 to help prevent compiler errors (but, of course, without
the benefits of AI_V4MAPPED).
Discovered when building some code from the dub packages.

Oct 29 2021