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

respectively.

#error if ISC_PLATFORM_NEEDVSNPRINTF is not defined.
This commit is contained in:
David Lawrence
2000-04-26 02:20:31 +00:00
parent 33e927bf86
commit 94da1ee12c

View File

@@ -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.
*/