]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow libnv to be built externally using GCC.
authorbdrewery <bdrewery@FreeBSD.org>
Thu, 7 Jan 2016 20:52:35 +0000 (20:52 +0000)
committerbdrewery <bdrewery@FreeBSD.org>
Thu, 7 Jan 2016 20:52:35 +0000 (20:52 +0000)
commita3fad80f1c430f0bff20961151c3876e4c8d6934
tree8f098aca144c4492f08624be6fd664e79417752d
parent68a5d0c3723e6c46981d075e62545db7e77d6aed
Allow libnv to be built externally using GCC.

GCC does not define _VA_LIST_DECLARED.  It defines _VA_LIST_ and others.
This was causing the prototype to not be defined and leading to an error
later due to using nvlist_add_stringv(3) without a prototype in
nvlist_add_stringf(3).

This uses the same check as other va_list prototypes in the original
change in r279438.
sys/sys/nv.h