Commit 94da1ee1 authored by David Lawrence's avatar David Lawrence
Browse files

Needs <ctype.h>, <stdio.h> and <stdlib.h> for isdigit, snprintf and strtoul

respectively.

#error if ISC_PLATFORM_NEEDVSNPRINTF is not defined.
parent 33e927bf
......@@ -17,10 +17,18 @@
#include <config.h>
#include <ctype.h>
#include <stdio.h> /* for sprintf */
#include <stdlib.h>
#include <isc/assertions.h>
#include <isc/print.h>
#include <isc/platform.h>
#ifndef ISC_PLATFORM_NEEDVSNPRINTF
#error ISC_PLATFORM_NEEDVSPRINTF needs to be defined to compile this file.
#endif
/*
* Return length of string that would have been written if not truncated.
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment