Fix a problem if CFLAGS is too long cversion.c fails to compile when config
[openssl.git] / crypto / opensslv.h
index a23dedc91b4c8c73ccc581214da9fd311d6383d7..22b87f9d571b64a079f9c6dc3e0d12056b32d65f 100644 (file)
@@ -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.1.0"
 
 
+#ifdef  __cplusplus
+}
+#endif
 #endif /* HEADER_OPENSSLV_H */