ast_ptlib.h 913 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Asterisk -- An open source telephony toolkit.
  3. *
  4. * Copyright (C) 2009, Digium, Inc.
  5. *
  6. * See http://www.asterisk.org for more information about
  7. * the Asterisk project. Please do not directly contact
  8. * any of the maintainers of this project for assistance;
  9. * the project provides a web site, mailing lists and IRC
  10. * channels for your use.
  11. *
  12. * This program is free software, distributed under the terms of
  13. * the GNU General Public License Version 2. See the LICENSE file
  14. * at the top of the source tree.
  15. */
  16. /* PTLib is Copyright (c) 2003 Equivalence Pty. Ltd. */
  17. /*!
  18. * \file
  19. * \brief PTLib compatibility with previous versions of OPAL/PTLib/PWLib
  20. */
  21. #ifndef AST_PTLIB_H
  22. #define AST_PTLIB_H
  23. #include <ptbuildopts.h>
  24. #if !defined(P_USE_STANDARD_CXX_BOOL) && !defined(P_USE_INTEGER_BOOL)
  25. typedef BOOL PBoolean;
  26. #define PTrue TRUE
  27. #define PFalse FALSE
  28. #endif
  29. #endif /* !defined AST_PTLIB_H */