blob: 79330b9bdd787a0043b82ccafbc597e60185c4fd [file] [log] [blame]
Tristan Matthews0a329cc2013-07-17 13:20:14 -04001/* $Id$ */
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/**
24 * @file m_auto.h
25 * @brief Automatically generated process definition file.
26 */
27
28/* Machine name, filled in by autoconf script */
29#undef PJ_M_NAME
30
31/* Endianness. It's reported on pjsip list on 09/02/13 that autoconf
32 * endianness detection failed for universal build, so special case
33 * for it here. Thanks Ruud Klaver for the fix.
34 */
35#ifdef PJ_DARWINOS
36# ifdef __BIG_ENDIAN__
37# define WORDS_BIGENDIAN 1
38# endif
39#else
40 /* Endianness, as detected by autoconf */
41# undef WORDS_BIGENDIAN
42#endif
43
44#ifdef WORDS_BIGENDIAN
45# define PJ_IS_LITTLE_ENDIAN 0
46# define PJ_IS_BIG_ENDIAN 1
47#else
48# define PJ_IS_LITTLE_ENDIAN 1
49# define PJ_IS_BIG_ENDIAN 0
50#endif
51
52
53/* Specify if floating point is present/desired */
54#undef PJ_HAS_FLOATING_POINT
55
56/* Deprecated */
57#define PJ_HAS_PENTIUM 0
58
59#endif /* __PJ_COMPAT_M_AUTO_H__ */
60