From b2ccf8dd31d1457ae9f0ae270054117179220370 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 7 Apr 2015 08:29:34 +0000 Subject: Imported from /home/lorry/working-area/delta_ntp/ntp-4.2.8p2.tar.gz. --- ports/winnt/include/config.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'ports/winnt/include/config.h') diff --git a/ports/winnt/include/config.h b/ports/winnt/include/config.h index b99aaa7..f56df9d 100644 --- a/ports/winnt/include/config.h +++ b/ports/winnt/include/config.h @@ -258,6 +258,7 @@ typedef int socklen_t; /* Enable OpenSSL */ #define OPENSSL 1 +#define USE_OPENSSL_CRYPTO_RAND 1 /* * Keywords and functions that Microsoft maps @@ -299,9 +300,13 @@ typedef int socklen_t; #define getpid _getpid #define timegm _mkgmtime #define errno_to_str isc__strerror +/* + * symbol returning the name of the current function + */ +#define __func__ __FUNCTION__ typedef int pid_t; /* PID is an int */ -typedef int ssize_t; /* ssize is an int */ +typedef int ssize_t; /* ssize is an int */ /* * Map the stream to the file number @@ -452,6 +457,7 @@ typedef unsigned long uintptr_t; #if defined(_MSC_VER) && _MSC_VER<1800 # define MISSING_INTTYPES_H 1 /* not provided by VS2012 and earlier */ # define MISSING_STDBOOL_H 1 /* not provided by VS2012 and earlier */ +# define MISSING_C99_STRUCT_INIT 1 /* see [Bug 2728] */ #else #if defined(_MSC_VER) && _MSC_VER>=1800 /* VS2013 and above support C99 types */ -- cgit v1.2.1