projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT4310: Fix varous no-XXX builds
[openssl.git]
/
include
/
openssl
/
async.h
diff --git
a/include/openssl/async.h
b/include/openssl/async.h
index 8ec9b000c43c6b774508953b578195191f04257b..99d80752159dd13e4b7aad738c02c70ff7c98e97 100644
(file)
--- a/
include/openssl/async.h
+++ b/
include/openssl/async.h
@@
-53,6
+53,12
@@
#ifndef HEADER_ASYNC_H
# define HEADER_ASYNC_H
#ifndef HEADER_ASYNC_H
# define HEADER_ASYNC_H
+#include <openssl/opensslconf.h>
+
+#ifdef OPENSSL_NO_ASYNC
+#define ASYNC_block_pause() do { ; } while(0)
+#define ASYNC_unblock_pause() do { ; } while(0)
+#else
#include <stdlib.h>
#if defined(_WIN32)
#include <stdlib.h>
#if defined(_WIN32)
@@
-116,4
+122,5
@@
void ERR_load_ASYNC_strings(void);
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif
+#endif /* OPENSSL_NO_ASYNC */
#endif
#endif