From: jsing Date: Mon, 26 Jan 2015 13:46:23 +0000 (+0000) Subject: Place the remainder of e_os2.h under #ifndef LIBRESSL_INTERNAL until we can X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=81e671ba9d0dc9ffebcc0e4ddb930a8d800e87bb;p=openbsd 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. --- 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