m_auto.h 1.8 KB

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