stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r674008 - /stdcxx/branches/4.2.x/tests/include/rw_file.h
Date Fri, 04 Jul 2008 11:13:56 GMT
Author: faridz
Date: Fri Jul  4 04:13:56 2008
New Revision: 674008

URL: http://svn.apache.org/viewvc?rev=674008&view=rev
Log:
2008-07-04  Farid Zaripov  <faridz@apache.com>

	* tests/include/rw_file.h: Replaced _MSC_VER to _WIN32 in
	preprocessor directive to use correct file name on MinGW.

Modified:
    stdcxx/branches/4.2.x/tests/include/rw_file.h

Modified: stdcxx/branches/4.2.x/tests/include/rw_file.h
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/tests/include/rw_file.h?rev=674008&r1=674007&r2=674008&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/tests/include/rw_file.h (original)
+++ stdcxx/branches/4.2.x/tests/include/rw_file.h Fri Jul  4 04:13:56 2008
@@ -33,17 +33,17 @@
 #include <rw_testdefs.h>   // for test config macros
 
 
-#ifndef _MSC_VER
+#ifndef _WIN32
    // POSIX special files:
    // http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap10.html
 #  define DEV_CONSOLE   "/dev/console"
 #  define DEV_NULL      "/dev/null"
 #  define DEV_TTY       "/dev/tty"
-#else   // if defined (_MSC_VER)
+#else   // if defined (_WIN32)
 #  define DEV_CONSOLE   "CON:"
 #  define DEV_NULL      "NUL:"
 #  define DEV_TTY       "CON:"
-#endif   // _MSC_VER
+#endif   // _WIN32
 
 
 #if _RWSTD_PATH_SEP == '/'



Mime
View raw message