Debian Codegraph @

Xpjproject/pjlib/include/pj/compat/m_auto.h.in

raw
1 /*
2 * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
3 * Copyright (C) 2003-2008 Benny Prijono <[email protected]>
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 /**
23 * @file m_auto.h
24 * @brief Automatically generated process definition file.
25 */
26
27 /* Machine name, filled in by autoconf script */
28 #undef PJ_M_NAME
29
30 /* Endianness. It's reported on pjsip list on 09/02/13 that autoconf
31 * endianness detection failed for universal build, so special case
32 * for it here. Thanks Ruud Klaver for the fix.
33 */
34 #ifdef PJ_DARWINOS
35 # ifdef __BIG_ENDIAN__
36 # define WORDS_BIGENDIAN 1
37 # endif
38 #else
39 /* Endianness, as detected by autoconf */
40 # undef WORDS_BIGENDIAN
41 #endif
42
43 #ifdef WORDS_BIGENDIAN
44 # define PJ_IS_LITTLE_ENDIAN 0
45 # define PJ_IS_BIG_ENDIAN 1
46 #else
47 # define PJ_IS_LITTLE_ENDIAN 1
48 # define PJ_IS_BIG_ENDIAN 0
49 #endif
50
51
52 /* Specify if floating point is present/desired */
53 #undef PJ_HAS_FLOATING_POINT
54
55 /* Deprecated */
56 #define PJ_HAS_PENTIUM 0
57
58 #endif /* __PJ_COMPAT_M_AUTO_H__ */
59