From c734a9e1a4fc7418911d8c50817d619221d2cd42 Mon Sep 17 00:00:00 2001 From: snowdrop Date: Mon, 27 Feb 2006 00:26:23 +0000 Subject: Added c++ macro #ifdef __cplusplus extern "C" { #endif ... #ifdef __cplusplus } #endf --- nanohttp/nanohttp-ssl.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'nanohttp/nanohttp-ssl.h') diff --git a/nanohttp/nanohttp-ssl.h b/nanohttp/nanohttp-ssl.h index a0e0665..798a1ee 100644 --- a/nanohttp/nanohttp-ssl.h +++ b/nanohttp/nanohttp-ssl.h @@ -25,6 +25,10 @@ /* Do enter only if --with-ssl was specified by the configure script */ #ifdef HAVE_SSL +#ifdef __cplusplus +extern "C" { +#endif + #ifdef TRU64 #include typedef unsigned int uint32_t; @@ -116,4 +120,8 @@ int ssl_checkFatal( SSL *ssl, int status ); #endif +#ifdef __cplusplus +} +#endif + #endif /* HAVE_SSL */ -- cgit v1.1-32-gdbae