diff options
author | snowdrop | 2006-02-27 00:26:23 +0000 |
---|---|---|
committer | snowdrop | 2006-02-27 00:26:23 +0000 |
commit | c734a9e1a4fc7418911d8c50817d619221d2cd42 (patch) | |
tree | 78c4cb6456957d0dc606e82b10b12d9a539c7e02 /nanohttp/nanohttp-ssl.h | |
parent | f2798d9d9f26f9b0fd730339feb10679fec753df (diff) | |
download | csoap-c734a9e1a4fc7418911d8c50817d619221d2cd42.tar.gz csoap-c734a9e1a4fc7418911d8c50817d619221d2cd42.tar.bz2 |
Added c++ macro
#ifdef __cplusplus
extern "C" {
#endif
...
#ifdef __cplusplus
}
#endf
Diffstat (limited to 'nanohttp/nanohttp-ssl.h')
-rw-r--r-- | nanohttp/nanohttp-ssl.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 <arpa/inet.h> typedef unsigned int uint32_t; @@ -116,4 +120,8 @@ int ssl_checkFatal( SSL *ssl, int status ); #endif +#ifdef __cplusplus +} +#endif + #endif /* HAVE_SSL */ |