summaryrefslogtreecommitdiffstats
path: root/crypto/opensslv.h
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2014-08-27 21:47:12 -0400
committerRich Salz <rsalz@akamai.com>2014-08-27 21:47:12 -0400
commit23ea9f6f03332c07977964c674fa00699d999220 (patch)
treee9a2338bc450bffadefbacae134148d65e91f822 /crypto/opensslv.h
parent3e5df378613b2bd70e2e2eee4bec7b5c88b298e6 (diff)
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 <tjh@openssl.org> (cherry picked from commit 089f10e69ece75ce31540501fe0898b15e898552)
Diffstat (limited to 'crypto/opensslv.h')
-rw-r--r--crypto/opensslv.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/opensslv.h b/crypto/opensslv.h
index 04732b242d..721c61f212 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 */