From 089f10e69ece75ce31540501fe0898b15e898552 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Wed, 27 Aug 2014 21:43:25 -0400 Subject: RT2308: Add extern "C" { ... } wrapper Add the wrapper to all public header files (Configure generates one). Don't bother for those that are just lists of #define's that do renaming. Reviewed-by: Tim Hudson Cherry-pick of commit 17e80c6bd05de7406a65116f34ed59665607d8d5 --- crypto/opensslv.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crypto/opensslv.h') diff --git a/crypto/opensslv.h b/crypto/opensslv.h index 5b35cf7a6c..fa0d6eaf14 100644 --- a/crypto/opensslv.h +++ b/crypto/opensslv.h @@ -1,6 +1,10 @@ #ifndef HEADER_OPENSSLV_H #define HEADER_OPENSSLV_H +#ifdef __cplusplus +extern "C" { +#endif + /* Numeric release version identifier: * MNNFFPPS: major minor fix patch status * The status nibble has one of the values 0 for development, 1 to e for betas @@ -86,4 +90,7 @@ #define SHLIB_VERSION_NUMBER "1.0.0" +#ifdef __cplusplus +} +#endif #endif /* HEADER_OPENSSLV_H */ -- cgit v1.2.3