diff options
Diffstat (limited to 'bsd-base64.h')
-rw-r--r-- | bsd-base64.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/bsd-base64.h b/bsd-base64.h index c5dace7cb..c1d69dd6c 100644 --- a/bsd-base64.h +++ b/bsd-base64.h | |||
@@ -4,16 +4,13 @@ | |||
4 | #include "config.h" | 4 | #include "config.h" |
5 | 5 | ||
6 | #ifndef HAVE___B64_NTOP | 6 | #ifndef HAVE___B64_NTOP |
7 | # ifdef HAVE_B64_NTOP | 7 | # ifndef HAVE_B64_NTOP |
8 | # define __b64_ntop b64_ntop | ||
9 | # define __b64_pton b64_pton | ||
10 | # else /* !HAVE_B64_NTOP */ | ||
11 | |||
12 | int b64_ntop(u_char const *src, size_t srclength, char *target, | 8 | int b64_ntop(u_char const *src, size_t srclength, char *target, |
13 | size_t targsize); | 9 | size_t targsize); |
14 | int b64_pton(char const *src, u_char *target, size_t targsize); | 10 | int b64_pton(char const *src, u_char *target, size_t targsize); |
15 | 11 | # endif /* !HAVE_B64_NTOP */ | |
16 | # endif /* HAVE_B64_NTOP */ | 12 | # define __b64_ntop b64_ntop |
13 | # define __b64_pton b64_pton | ||
17 | #endif /* HAVE___B64_NTOP */ | 14 | #endif /* HAVE___B64_NTOP */ |
18 | 15 | ||
19 | #endif /* _BSD_BINRESVPORT_H */ | 16 | #endif /* _BSD_BINRESVPORT_H */ |