|
From: | Julien ÉLIE |
Subject: | [sr #110392] Define _NETBSD_SOURCE and _OPENBSD_SOURCE in AC_USE_SYSTEM_EXTENSIONS |
Date: | Sun, 6 Dec 2020 17:08:41 -0500 (EST) |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Safari/605.1.15 |
Follow-up Comment #2, sr #110392 (project autoconf): Hi Zack, Thanks for the commit! Please note that "Enable OpenBSD extensions on NetBSD." was not a typo. It is really meant for use *on NetBSD* (not on OpenBSD). >From NetBSD documentation: https://man.netbsd.org/reallocarray.3 #define _OPENBSD_SOURCE And also about BSD portability: https://learnbchs.org/portability-page2.html #if defined(__NetBSD__) # define _OPENBSD_SOURCE /* reallocarray */ #endif -- Julien ÉLIE _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/support/?110392> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |