summaryrefslogtreecommitdiff
path: root/libiberty/choose-temp.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-25 00:23:06 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-25 00:23:06 +0000
commite98ba65157bb6952ee7f5a837e1f785fd47486ec (patch)
tree944df9c9900a7030502a2ce994535a8622438ccc /libiberty/choose-temp.c
parentfa7570777056f4866615e0eed9d0b2af725fdabb (diff)
downloadgcc-e98ba65157bb6952ee7f5a837e1f785fd47486ec.tar.gz
* choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26619 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/choose-temp.c')
-rw-r--r--libiberty/choose-temp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/choose-temp.c b/libiberty/choose-temp.c
index 49c73869155..b1007bb546b 100644
--- a/libiberty/choose-temp.c
+++ b/libiberty/choose-temp.c
@@ -48,7 +48,7 @@ Boston, MA 02111-1307, USA. */
extern int mkstemps ();
#ifndef IN_GCC
-#if defined (__MSDOS__) || defined (_WIN32)
+#if defined (__MSDOS__) || (defined (_WIN32) && ! defined (__CYGWIN__) && ! defined (_UWIN))
#define DIR_SEPARATOR '\\'
#endif
#endif