-/* crypto/async/arch/async_win.h */
/*
* Written by Matt Caswell (matt@openssl.org) for the OpenSSL project.
*/
* ====================================================================
*/
-#include <openssl/async.h>
-
/*
* This is the same detection used in cryptlib to set up the thread local
* storage that we depend on, so just copy that
*/
-#if defined(_WIN32) || defined(__CYGWIN__)
+#if defined(_WIN32) && !defined(OPENSSL_NO_ASYNC)
+#include <openssl/async.h>
# define ASYNC_WIN
# define ASYNC_ARCH
((c)->fibre = CreateFiber(0, async_start_func_win, 0))
# define async_fibre_free(f) (DeleteFiber((f)->fibre))
-async_ctx *async_get_ctx(void);
-int async_set_ctx(async_ctx *ctx);
-
int async_fibre_init_dispatcher(async_fibre *fibre);
VOID CALLBACK async_start_func_win(PVOID unused);
-async_pool *async_get_pool(void);
-int async_set_pool(async_pool *pool);
-
#endif