//////////////////////////////////////////////////////////////////
//
// pwlib_compat.h PWLib compatibility header
//
// This work is published under the GNU Public License (GPL)
// see file COPYING for details.
// We also explicitely grant the right to link this code
// with the OpenH323 library.
//
//////////////////////////////////////////////////////////////////
#ifndef PWLIB_COMPAT_H
#define PWLIB_COMPAT_H "@(#) $Id: pwlib_compat.h,v 1.2 2006/05/06 22:02:32 willamowius Exp $"
#include "ptbuildopts.h"
// use at least PWLib Pandora
#if PWLIB_MAJOR == 1
#if PWLIB_MINOR < 7
#if PWLIB_BUILD < 5
#error "PWLib too old, use at least 1.7.5.2"
#endif
#endif
#endif
// define PTimedMutex for PWLib < 1.9.2
#if PWLIB_MAJOR == 1
#if PWLIB_MINOR < 9
#define PTimedMutex PMutex
#endif
#endif
#if PWLIB_MAJOR == 1
#if PWLIB_MINOR == 9
#if PWLIB_BUILD < 2
#define PTimedMutex PMutex
#endif
#endif
#endif
#endif // PWLIB_COMPAT_H
syntax highlighted by Code2HTML, v. 0.9.1