diff options
author | 2015-01-26 13:46:23 +0000 | |
---|---|---|
committer | 2015-01-26 13:46:23 +0000 | |
commit | 81e671ba9d0dc9ffebcc0e4ddb930a8d800e87bb (patch) | |
tree | 281a8e5b0099f121619ef7c0c9e10ba5fda77efd /lib/libssl/src | |
parent | properly restore umask (diff) | |
download | wireguard-openbsd-81e671ba9d0dc9ffebcc0e4ddb930a8d800e87bb.tar.xz wireguard-openbsd-81e671ba9d0dc9ffebcc0e4ddb930a8d800e87bb.zip |
Place the remainder of e_os2.h under #ifndef LIBRESSL_INTERNAL until we can
hopefully remove it completely - nothing in LibreSSL should be making use
of any of these defines.
Diffstat (limited to 'lib/libssl/src')
-rw-r--r-- | lib/libssl/src/e_os2.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libssl/src/e_os2.h b/lib/libssl/src/e_os2.h index c8124959420..ea73c480d98 100644 --- a/lib/libssl/src/e_os2.h +++ b/lib/libssl/src/e_os2.h @@ -1,4 +1,4 @@ -/* $OpenBSD: e_os2.h,v 1.19 2014/07/11 10:56:03 deraadt Exp $ */ +/* $OpenBSD: e_os2.h,v 1.20 2015/01/26 13:46:23 jsing Exp $ */ /* ==================================================================== * Copyright (c) 1998-2000 The OpenSSL Project. All rights reserved. * @@ -62,6 +62,8 @@ extern "C" { #endif +#ifndef LIBRESSL_INTERNAL + #define OPENSSL_SYS_UNIX #define OPENSSL_EXPORT extern @@ -74,6 +76,8 @@ extern "C" { #define OPENSSL_DECLARE_GLOBAL(type,name) OPENSSL_EXPORT type _shadow_##name #define OPENSSL_GLOBAL_REF(name) _shadow_##name +#endif + #ifdef __cplusplus } #endif |