diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1999-09-14 14:21:10 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 1999-09-14 14:21:10 +0000 |
commit | f26b3310c67fdf6cb7507a93a484ccc8f2495002 (patch) | |
tree | 31933c17e7f613b4e9908c9b42f3eb23550644f4 /gnu/egcs/libiberty/choose-temp.c | |
parent | 515b8955925db61fc4fa757cb0d21097fcb584d7 (diff) |
Bye, bye, choose_temp_base
Diffstat (limited to 'gnu/egcs/libiberty/choose-temp.c')
-rw-r--r-- | gnu/egcs/libiberty/choose-temp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/egcs/libiberty/choose-temp.c b/gnu/egcs/libiberty/choose-temp.c index b1007bb546b..7817fa80aa3 100644 --- a/gnu/egcs/libiberty/choose-temp.c +++ b/gnu/egcs/libiberty/choose-temp.c @@ -91,6 +91,7 @@ try (dir, base) return 0; } +#if defined(__MSDOS__) && !defined(__GO32__) /* Return a prefix for temporary file names or NULL if unable to find one. The current directory is chosen if all else fails so the program is exited if a temporary directory can't be found (mktemp fails). @@ -140,6 +141,8 @@ choose_temp_base () abort (); return temp_filename; } +#endif + /* Return a temporary file name (as a string) or NULL if unable to create one. */ |