summaryrefslogtreecommitdiff
path: root/ports/winnt/include/config.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-04-07 08:29:34 +0000
committer <>2015-04-13 18:52:43 +0000
commitb2ccf8dd31d1457ae9f0ae270054117179220370 (patch)
tree4ccd4a16d5e9ef5869630ba624e822665a6e248c /ports/winnt/include/config.h
parentbdab5265fcbf3f472545073a23f8999749a9f2b9 (diff)
downloadntp-b2ccf8dd31d1457ae9f0ae270054117179220370.tar.gz
Imported from /home/lorry/working-area/delta_ntp/ntp-4.2.8p2.tar.gz.HEADntp-4.2.8p2master
Diffstat (limited to 'ports/winnt/include/config.h')
-rw-r--r--ports/winnt/include/config.h8
1 files changed, 7 insertions, 1 deletions
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 */