This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

(libiberty) choose-temp.c win32 tweak


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]