diff --git a/ChangeLog b/ChangeLog index 82dda0c..f618e3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -216,6 +216,12 @@ Version 1.8.0 Version 1.6.7 ******************************************************************************* +2010-09-07 Marcelo Jimenez + Fix compilation error in ixml/inc/ixml.h when compiling with an + Objective-C compiler (when cross-compiling for iPhone devices). + + Patch submitted by Chandra (inactiveneurons). + 2010-08-21 Marcelo Jimenez * Issue regarding the GENA notifications. A string termination indicator was added at the end of the notification ("\r\n") in diff --git a/THANKS b/THANKS index 013865b..0ba9ca2 100644 --- a/THANKS +++ b/THANKS @@ -13,6 +13,7 @@ exempt of errors. - Arno Willig - Bob Ciora - Carlo Parata +- Chandra (inactiveneurons) - Chaos - Charles Nepveu (cnepveu) - Chris Pickel diff --git a/ixml/inc/ixml.h b/ixml/inc/ixml.h index d24403d..0099342 100644 --- a/ixml/inc/ixml.h +++ b/ixml/inc/ixml.h @@ -45,9 +45,13 @@ #include "UpnpGlobal.h" /* For EXPORT_SPEC */ - -typedef int BOOL; - +/* Define BOOL. */ +#ifndef __OBJC__ + typedef int BOOL; +#else + /* For Objective C compilers, include objc.h which defines BOOL. */ + #include +#endif /*! * \brief The type of DOM strings.