This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


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