diff options
author | Eli Zaretskii <eliz@gnu.org> | 2001-07-16 14:13:06 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2001-07-16 14:13:06 +0000 |
commit | a586f5ded57333611d07d524e397d13f93ea1405 (patch) | |
tree | a24a2cd0f02a790e1973b5cce15650064cf974f1 /gdb/defs.h | |
parent | 8dcf2f14985bb5af43a3b1b52f0208aabccc643d (diff) | |
download | gdb-a586f5ded57333611d07d524e397d13f93ea1405.tar.gz |
* cli/cli-cmds.c (shell_escape) [GLOBAL_CURDIR]: Condition the
call to chdir on this symbol rather than on __DJGPP__.
(CANT_FORK) [__MSDOS__]: Move from here...
* defs.h (CANT_FORK) [__MSDOS__]: ...to here.
(GLOBAL_CURDIR) [__MSDOS__]: Define.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h index 7872b3b3d70..b54a6166343 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -1403,6 +1403,11 @@ extern int use_windows; #endif #endif +#ifdef __MSDOS__ +# define CANT_FORK +# define GLOBAL_CURDIR +#endif + /* Provide default definitions of PIDGET, TIDGET, and MERGEPID. The name ``TIDGET'' is a historical accident. Many uses of TIDGET in the code actually refer to a lightweight process id, i.e, |