]>
Commit | Line | Data |
---|---|---|
74d319e0 C |
1 | /* Host-dependent definitions for any CPU running NetBSD. |
2 | Copyright 1993, 1994 Free Software Foundation, Inc. | |
3 | ||
4 | This file is part of GDB. | |
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 | |
6c9638b4 | 18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
74d319e0 | 19 | |
46cf56fa C |
20 | /* We have to include these files now, so that GDB will not make |
21 | competing definitions in defs.h. */ | |
74d319e0 C |
22 | #include <limits.h> |
23 | ||
24 | #include <machine/endian.h> | |
46cf56fa | 25 | #if BYTE_ORDER == BIG_ENDIAN |
74d319e0 C |
26 | #define HOST_BYTE_ORDER BIG_ENDIAN |
27 | #else | |
28 | #define HOST_BYTE_ORDER LITTLE_ENDIAN | |
29 | #endif | |
30 | ||
31 | /* NetBSD has termios facilities. */ | |
32 | #define HAVE_TERMIOS |