Fix for warnings in Apple systems

This commit is contained in:
Chandra Penke 2011-01-17 09:14:15 +05:30 committed by Marcelo Roberto Jimenez
parent bdb3f880b7
commit bf30519f6c
2 changed files with 14 additions and 0 deletions

View File

@ -2,6 +2,12 @@
Version 1.8.0
*******************************************************************************
2010-09-18 Chandra Penke <chandrapenke(at)mcntech.com>
Fix for warnings Apple systems related to macros defined in list.h.
In list.h, in apple systems, undefine the macros prior to defining them.
2010-01-16 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
Fix for UpnpFileInfo_get_LastModified() in http_MakeMessage().

View File

@ -9,6 +9,14 @@
#endif
#include "poison.h"
#ifdef __APPLE__
/* Apple systems define these macros in system headers, so we undef
* them prior to inclusion of this file */
#undef LIST_HEAD
#undef LIST_HEAD_INIT
#undef INIT_LIST_HEAD
#endif
/*
* Simple doubly linked list implementation.
*