]> The Tcpdump Group git mirrors - tcpdump/commit
Use check_symbol_exists for {v}snprintf().
authorGuy Harris <[email protected]>
Mon, 29 Jan 2018 08:57:02 +0000 (00:57 -0800)
committerGuy Harris <[email protected]>
Mon, 29 Jan 2018 08:57:02 +0000 (00:57 -0800)
commit494c8096e0881e4f82440bc7b0b41b6969cd92b9
treec50d94da03abc21411da49690a1e4e0d779b8fb5
parentbe658698f958010d2eed8e9ae8a88ec81e844e74
Use check_symbol_exists for {v}snprintf().

With MSVC 2015, stdio.h defines snprintf() and vsnprintf() as inline
functions, so you need to include stdio.h when testing for them -
check_function_exists() won't do it, you need check_symbol_exists().
CMakeLists.txt