[Patch/libstdc++] Move posix_errno into namespace posix_error for mingw32 too.

Danny Smith dansmister@gmail.com
Sat Dec 29 15:17:00 GMT 2007


Committed as obvious, to allow libstdc++ to build again on  mingw32

2007-12-29  Danny Smith  <dannysmith@users.sourceforge.net>

	* config/os/mingw32/error_constants.h (enum posix_errno): Move
	inside namespace posix_error

Index: config/os/mingw32/error_constants.h
===================================================================
--- config/os/mingw32/error_constants.h	(revision 131211)
+++ config/os/mingw32/error_constants.h	(working copy)
@@ -41,8 +41,9 @@

 _GLIBCXX_BEGIN_NAMESPACE(std)

+namespace posix_error {
 // Most of the commented-out error codes are socket-related and could be
-// replaced bu Winsock WSA-prefixed equivalents.
+// replaced bu Winsock WSA-prefixed equivalents.
   enum posix_errno
     {
 //    address_family_not_supported = 		EAFNOSUPPORT,
@@ -125,6 +126,7 @@
  //   wrong_protocol_type = 			EPROTOTYPE,
       no_posix_equivalent = 1L << 16
    };
+}

 _GLIBCXX_END_NAMESPACE



More information about the Gcc-patches mailing list