pineapple-src/externals/libressl/include/compat/resolv.h

25 lines
445 B
C
Raw Normal View History

2020-12-28 16:15:37 +01:00
/*
* Public domain
* resolv.h compatibility shim
*/
#ifndef LIBCRYPTOCOMPAT_RESOLV_H
#define LIBCRYPTOCOMPAT_RESOLV_H
#ifdef _MSC_VER
#if _MSC_VER >= 1900
#include <../ucrt/resolv.h>
#else
#include <../include/resolv.h>
#endif
2022-04-24 22:29:35 +02:00
#elif defined(HAVE_RESOLV_H)
2020-12-28 16:15:37 +01:00
#include_next <resolv.h>
#endif
#ifndef HAVE_B64_NTOP
int b64_ntop(unsigned char const *, size_t, char *, size_t);
int b64_pton(char const *, unsigned char *, size_t);
#endif
#endif