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-server.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'nanohttp/nanohttp-server.h') diff --git a/nanohttp/nanohttp-server.h b/nanohttp/nanohttp-server.h index 4c50d23..bf7405d 100644 --- a/nanohttp/nanohttp-server.h +++ b/nanohttp/nanohttp-server.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-server.h,v 1.13 2006/02/18 20:14:36 snowdrop Exp $ + * $Id: nanohttp-server.h,v 1.14 2006/02/27 00:26:23 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -25,6 +25,10 @@ #define NANO_HTTP_SERVER_H +#ifdef __cplusplus +extern "C" { +#endif + #include #include #include @@ -133,4 +137,8 @@ herror_t httpd_mime_send_file(httpd_conn_t * conn, herror_t httpd_mime_end(httpd_conn_t * conn); +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.1-32-gdbae