real-logic / aeron

Efficient reliable UDP unicast, UDP multicast, and IPC message transport
https://aeron.io
Apache License 2.0
7.42k stars 892 forks source link

Undef macros major() and minor() defined in sys/sysmacros.h to prevent name collisions #1681

Closed DarrylGamroth closed 2 weeks ago

DarrylGamroth commented 2 weeks ago

Older libc versions include the file sys/sysmacros.h in sys/types.h which causes name collisions with the major() and minor() functions.