Fix compile failure with no-threads
authorMatt Caswell <matt@openssl.org>
Sat, 12 Dec 2015 14:26:22 +0000 (14:26 +0000)
committerMatt Caswell <matt@openssl.org>
Sat, 12 Dec 2015 14:26:22 +0000 (14:26 +0000)
The async code was causing a compile failure if no-threads was used.

Reviewed-by: Kurt Roeckx <kurt@openssl.org>
crypto/async/arch/async_null.h

index 684e373b48f033c548ada44bfc0338186cca19bb..72a888a89b6154d4cc9431bcf0013ce81c919127 100644 (file)
@@ -69,7 +69,7 @@ typedef struct async_fibre_st {
 # define async_set_ctx(nctx)                    0
 # define async_get_ctx()                        ((async_ctx *)NULL)
 # define async_fibre_swapcontext(o,n,r)         0
-# define async_fibre_makecontext(c)
+# define async_fibre_makecontext(c)             0
 # define async_fibre_free(f)
 # define async_fibre_init_dispatcher(f)
 # define async_get_pool()                       NULL