From a1d772790375c74cb3c852e2e4b79e1ab26c7ed6 Mon Sep 17 00:00:00 2001 From: Iain Denniston Date: Fri, 11 Mar 2011 17:26:35 +0000 Subject: [PATCH] Fixes for headers when compiled under C++ (cherry picked from commit 840669b2536099023ceb56b76fd9e67e77f17e9c) --- ChangeLog | 3 +++ upnp/src/inc/httpreadwrite.h | 2 +- upnp/src/inc/sock.h | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e0e9ec4..bad0d67 100644 --- a/ChangeLog +++ b/ChangeLog @@ -255,6 +255,9 @@ Version 1.8.0 Version 1.6.13 ******************************************************************************* +2011-03-08 Iain Denniston + Fixes for headers when compiled under C++ + 2011-03-08 Iain Denniston Fix for uuid_unpack incorrect shift precedence. diff --git a/upnp/src/inc/httpreadwrite.h b/upnp/src/inc/httpreadwrite.h index f1f016c..f48ead8 100644 --- a/upnp/src/inc/httpreadwrite.h +++ b/upnp/src/inc/httpreadwrite.h @@ -45,7 +45,7 @@ #define HTTP_DEFAULT_TIMEOUT 30 #ifdef __cplusplus -#extern "C" { +extern "C" { #endif int http_CancelHttpGet(IN void *Handle); diff --git a/upnp/src/inc/sock.h b/upnp/src/inc/sock.h index 47d10ef..5a2195e 100644 --- a/upnp/src/inc/sock.h +++ b/upnp/src/inc/sock.h @@ -60,7 +60,7 @@ typedef struct } SOCKINFO; #ifdef __cplusplus -#extern "C" { +extern "C" { #endif /*!