mirror of https://github.com/OISF/suricata
build-info: workaround special _FORTIFY_SOURCE defines
On systems like Gentoo where _FORTIFY_SOURCE is already defined like FORTIFY_SOURCE=((defined __OPTIMIZE && OPTIMIZE > 0) ? 2 : 0) the use within the printf function (%d) won't result in the correct value and we end up with 'defined' undeclared compile error. This workaround makes sure that just the resolved value is checked and then printed.pull/1871/head
parent
154891cf26
commit
c467c39b61
Loading…
Reference in New Issue