how to know if bug 198092 applied in C program?
meta at vmeta.jp
Wed Feb 24 01:55:37 UTC 2016
Thanks. I'll try configure script.
2016-02-23 21:50 に andrew clarke さんは書きました:
> On Tue 2016-02-23 07:07:30 UTC+0000, Koichiro IWAO (meta at vmeta.jp)
>> I'm writing a C program and having a question.
>> My program is intended to run under stable/9, releng/9.3, stable/10,
>> releng/10.2, releng/10.3 and sometimes current. Stables are not
>> up to date.
>> I'd like to check if getaddrinfo(3) supports AI_V4MAPPED using
>> like "#ifdef" or "#if" macros because it is not necessarily
>> Probably I can use __FreeBSD_version for that. Is this way good?
> I think you could use a configure script (not necessarily Autoconf)
> instead, and test for AI_V4MAPPED support at build time.
`whois vmeta.jp | nkf -w`
meta <meta at vmeta.jp>
More information about the freebsd-questions