summaryrefslogtreecommitdiff
path: root/ports/winnt/include/config.h
diff options
context:
space:
mode:
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 */