fix of ldns for solaris and probably other platforms that actualy have b64_pton, thanks to math for the help

This commit is contained in:
Michal Bielicki - cypromis 2011-08-31 20:33:55 +02:00
parent 55f911d434
commit 8f83473581
1 changed files with 6 additions and 0 deletions

View File

@ -467,4 +467,10 @@ size_t strlcpy(char *dst, const char *src, size_t siz);
#ifndef HAVE_STRTOUL
#define strtoul (unsigned long)strtol
#endif
#ifdef HAVE_B64_PTON
#define ldns_b64_pton b64_pton
#endif
#ifdef HAVE_B64_NTOP
#define ldns_b64_ntop b64_ntop
#endif