patch for taking notice of UPNP_USE_RWLOCK flag in threadutil

By "Carl Benson" <carl.benson@windriver.com>:

I had to do some modifications myself though, because the Android
build system insists on having a file named "util.h" taking precedence
in its include path, libupnp gets confused because of the same filename
in upnp/src/inc/util.h
This commit is contained in:
Carl Benson
2010-11-01 00:43:20 -02:00
committed by Marcelo Roberto Jimenez
parent d6671c464f
commit 8e846368e0
19 changed files with 45 additions and 21 deletions

View File

@@ -34,7 +34,7 @@
#include <stdlib.h>
#include "util.h"
#include "upnputil.h"
#define MINVAL( a, b ) ( (a) < (b) ? (a) : (b) )
#define MAXVAL( a, b ) ( (a) > (b) ? (a) : (b) )