diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-04-27 22:45:34 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-04-27 22:45:34 -0400 |
commit | 500c312a587248e9e0f46a195dcb9a843e142dc8 (patch) | |
tree | 781593d4067144e10823b383276f21be74ac3d5c /wait.h | |
parent | e06b50f5647066548c82e02f81db46f8d6dc4cce (diff) | |
download | cryptopp-git-500c312a587248e9e0f46a195dcb9a843e142dc8.tar.gz |
Add missing header for Windows 8, Windows Server 2012, and Windows Phone 8
Diffstat (limited to 'wait.h')
-rwxr-xr-x[-rw-r--r--] | wait.h | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -1,14 +1,15 @@ +// wait.h - written and placed in the public domain by Wei Dai
+
#ifndef CRYPTOPP_WAIT_H
#define CRYPTOPP_WAIT_H
#include "config.h"
+#include "cryptlib.h"
+#include "misc.h"
+#include "stdcpp.h"
#ifdef SOCKETS_AVAILABLE
-#include "misc.h"
-#include "cryptlib.h"
-#include <vector>
-
#ifdef USE_WINDOWS_STYLE_SOCKETS
#include <winsock2.h>
#else
@@ -16,6 +17,12 @@ #include <sys/select.h>
#endif
+// For defintions of VOID, PVOID, HANDLE, PHANDLE, etc.
+#if defined(CRYPTOPP_WIN32_AVAILABLE)
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+#endif
+
#include "hrtimer.h"
#if defined(__has_feature)
|