Commit | Line | Data |
---|---|---|
48faced0 DE |
1 | /* Basic host-specific definitions for GDB. |
2 | Copyright (C) 1986, 1988-2005, 2007-2012 Free Software Foundation, Inc. | |
fa864999 TT |
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 3 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, see <http://www.gnu.org/licenses/>. */ | |
18 | ||
48faced0 DE |
19 | #ifndef HOST_DEFS_H |
20 | #define HOST_DEFS_H | |
fa864999 | 21 | |
48faced0 DE |
22 | #ifdef __MSDOS__ |
23 | # define CANT_FORK | |
24 | # define GLOBAL_CURDIR | |
25 | # define DIRNAME_SEPARATOR ';' | |
26 | #endif | |
e4ab2fad | 27 | |
48faced0 DE |
28 | #if !defined (__CYGWIN__) && defined (_WIN32) |
29 | # define DIRNAME_SEPARATOR ';' | |
30 | #endif | |
e4ab2fad | 31 | |
48faced0 DE |
32 | #ifndef DIRNAME_SEPARATOR |
33 | #define DIRNAME_SEPARATOR ':' | |
34 | #endif | |
e4ab2fad | 35 | |
48faced0 DE |
36 | #ifndef SLASH_STRING |
37 | #define SLASH_STRING "/" | |
38 | #endif | |
55aa24fb | 39 | |
48faced0 | 40 | #endif /* HOST_DEFS_H */ |