Use the new include files UpnpIntTypes.h, UpnpStdInt.h and UpnpUniStd.h.

Trying to keep platform dependency on the headers and clean the main
code a little bit.
This commit is contained in:
Marcelo Roberto Jimenez
2010-12-18 17:08:36 -02:00
parent dd75baab6b
commit b1ae4db35a
12 changed files with 60 additions and 83 deletions

View File

@@ -1,3 +1,6 @@
#ifndef ITHREAD_H
#define ITHREAD_H
/*******************************************************************************
*
* Copyright (c) 2000-2003 Intel Corporation
@@ -29,36 +32,22 @@
*
******************************************************************************/
#ifndef ITHREAD_H
#define ITHREAD_H
/*!
* \file
*/
#if !defined(WIN32)
#include <sys/param.h>
#endif
#include "UpnpGlobal.h" /* For UPNP_INLINE, EXPORT_SPEC */
#include "UpnpUniStd.h" /* for close() */
#ifdef __cplusplus
extern "C" {
#endif
#include <pthread.h>
#ifdef WIN32
/* Do not #include <unistd.h> */
#else
#include <unistd.h>
#endif
#if defined(BSD)
#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE