summaryrefslogtreecommitdiffstats
path: root/crypto/async/arch/async_null.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/async/arch/async_null.h')
-rw-r--r--crypto/async/arch/async_null.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/async/arch/async_null.h b/crypto/async/arch/async_null.h
index 7d1c601db2..2dc4f2b42f 100644
--- a/crypto/async/arch/async_null.h
+++ b/crypto/async/arch/async_null.h
@@ -73,4 +73,8 @@ typedef struct async_fibre_st {
# define ASYNC_FIBRE_makecontext(c)
# define ASYNC_FIBRE_free(f)
# define ASYNC_FIBRE_init_dispatcher(f)
+# define async_pipe(f) 0
+# define async_write1(f,b) ((*b == 0) ? (f = 0) : (f = 1))
+# define async_read1(f,b) (*b = 0)
+
#endif