mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-03 04:45:46 +00:00
syntax-check: Remove check for prohibited 'WITH_MBRTOWC'
While our code uses mbrtowc, we don't do any detection of it. Additionally it was recently changed from HAVE_MBRTOWC to WITH_MBRTOWC so even if it came from an included file it would no longer work. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
fa5d8520e2
commit
153564e3ce
@ -1381,11 +1381,6 @@ sc_require_config_h_first:
|
|||||||
else :; \
|
else :; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sc_prohibit_WITH_MBRTOWC:
|
|
||||||
@prohibit='\bWITH_MBRTOWC\b' \
|
|
||||||
halt="do not use $$prohibit; it is always defined" \
|
|
||||||
$(_sc_search_regexp)
|
|
||||||
|
|
||||||
# To use this "command" macro, you must first define two shell variables:
|
# To use this "command" macro, you must first define two shell variables:
|
||||||
# h: the header name, with no enclosing <> or ""
|
# h: the header name, with no enclosing <> or ""
|
||||||
# re: a regular expression that matches IFF something provided by $h is used.
|
# re: a regular expression that matches IFF something provided by $h is used.
|
||||||
|
Loading…
Reference in New Issue
Block a user