This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
(libiberty) choose-temp.c win32 tweak
- To: egcs-patches at egcs dot cygnus dot com
- Subject: (libiberty) choose-temp.c win32 tweak
- From: Mumit Khan <khan at xraylith dot wisc dot EDU>
- Date: Fri, 23 Apr 1999 19:58:46 -0500
Continuing saga of moving to POSIX names for various emulations on top
of Windows32.
Fri Apr 23 18:35:09 1999 Mumit Khan <khan@xraylith.wisc.edu>
* choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
Index: choose-temp.c
===================================================================
RCS file: /homes/khan/src/CVSROOT/egcs-1.2-dev2/libiberty/choose-temp.c,v
retrieving revision 1.1.1.1
diff -u -3 -p -r1.1.1.1 choose-temp.c
--- choose-temp.c 1999/04/22 21:35:03 1.1.1.1
+++ choose-temp.c 1999/04/23 21:42:52
@@ -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
Regards,
Mumit