m_auto.h.in 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
  3. * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program; if not, write to the Free Software
  17. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  18. */
  19. #ifndef __PJ_COMPAT_M_AUTO_H__
  20. #define __PJ_COMPAT_M_AUTO_H__
  21. /**
  22. * @file m_auto.h
  23. * @brief Automatically generated process definition file.
  24. */
  25. /* Machine name, filled in by autoconf script */
  26. #undef PJ_M_NAME
  27. /* Endianness. It's reported on pjsip list on 09/02/13 that autoconf
  28. * endianness detection failed for universal build, so special case
  29. * for it here. Thanks Ruud Klaver for the fix.
  30. */
  31. #ifdef PJ_DARWINOS
  32. # ifdef __BIG_ENDIAN__
  33. # define WORDS_BIGENDIAN 1
  34. # endif
  35. #else
  36. /* Endianness, as detected by autoconf */
  37. # undef WORDS_BIGENDIAN
  38. #endif
  39. #ifdef WORDS_BIGENDIAN
  40. # define PJ_IS_LITTLE_ENDIAN 0
  41. # define PJ_IS_BIG_ENDIAN 1
  42. #else
  43. # define PJ_IS_LITTLE_ENDIAN 1
  44. # define PJ_IS_BIG_ENDIAN 0
  45. #endif
  46. /* Specify if floating point is present/desired */
  47. #undef PJ_HAS_FLOATING_POINT
  48. /* Deprecated */
  49. #define PJ_HAS_PENTIUM 0
  50. #endif /* __PJ_COMPAT_M_AUTO_H__ */