error: Print 32- and 64-bit integers portably (Bug#8435).
[bpt/emacs.git] / src / m / ia64.h
CommitLineData
f4988be7 1/* machine description file for the IA-64 architecture.
e9bffc61 2
73b0cd50 3Copyright (C) 2000-2011 Free Software Foundation, Inc.
e9bffc61 4
f4988be7
GM
5 Contributed by David Mosberger <davidm@hpl.hp.com>
6
7This file is part of GNU Emacs.
8
eb3d11ef 9GNU Emacs is free software: you can redistribute it and/or modify
f4988be7 10it under the terms of the GNU General Public License as published by
eb3d11ef
GM
11the Free Software Foundation, either version 3 of the License, or
12(at your option) any later version.
f4988be7
GM
13
14GNU Emacs is distributed in the hope that it will be useful,
15but WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17GNU General Public License for more details.
18
19You should have received a copy of the GNU General Public License
eb3d11ef 20along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
f4988be7
GM
21
22#define BITS_PER_LONG 64
23#define BITS_PER_EMACS_INT 64
24
f4988be7 25/* Now define a symbol for the cpu type, if your compiler
ff841b30 26 does not define it automatically. */
f4988be7
GM
27/* __ia64__ defined automatically */
28
f4988be7
GM
29/* Define the type to use. */
30#define EMACS_INT long
5fdb398c 31#define pEd "ld"
f4988be7 32#define EMACS_UINT unsigned long
f4988be7 33
f4988be7
GM
34#ifdef REL_ALLOC
35#ifndef _MALLOC_INTERNAL
36/* "char *" because ralloc.c defines it that way. gmalloc.c thinks it
37 is allowed to prototype these as "void *" so we don't prototype in
38 that case. You're right: it stinks! */
39extern char *r_alloc (), *r_re_alloc ();
40extern void r_alloc_free ();
41#endif /* not _MALLOC_INTERNAL */
42#endif /* REL_ALLOC */