summaryrefslogtreecommitdiffstats
path: root/include/openssl/bio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/openssl/bio.h')
-rw-r--r--include/openssl/bio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/bio.h b/include/openssl/bio.h
index bb289e6fa2..f374b83324 100644
--- a/include/openssl/bio.h
+++ b/include/openssl/bio.h
@@ -12,7 +12,7 @@
# pragma once
# include <openssl/macros.h>
-# if !OPENSSL_API_3
+# ifndef OPENSSL_NO_DEPRECATED_3_0
# define HEADER_BIO_H
# endif
@@ -181,7 +181,7 @@ extern "C" {
# define BIO_FLAGS_IO_SPECIAL 0x04
# define BIO_FLAGS_RWS (BIO_FLAGS_READ|BIO_FLAGS_WRITE|BIO_FLAGS_IO_SPECIAL)
# define BIO_FLAGS_SHOULD_RETRY 0x08
-# if !OPENSSL_API_3
+# ifndef OPENSSL_NO_DEPRECATED_3_0
/* This #define was replaced by an internal constant and should not be used. */
# define BIO_FLAGS_UPLINK 0
# endif