stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r454555 - /incubator/stdcxx/trunk/tests/src/alloc.cpp
Date Mon, 09 Oct 2006 23:48:27 GMT
Author: sebor
Date: Mon Oct  9 16:48:26 2006
New Revision: 454555

URL: http://svn.apache.org/viewvc?view=rev&rev=454555
Log:
2006-10-09  Martin Sebor  <sebor@roguewave.com>

	* alloc.cpp (MAP_PRIVATE, MAP_ANONYMOUS): #defined to 0 when not
	#defined in system headers.

Modified:
    incubator/stdcxx/trunk/tests/src/alloc.cpp

Modified: incubator/stdcxx/trunk/tests/src/alloc.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/src/alloc.cpp?view=diff&rev=454555&r1=454554&r2=454555
==============================================================================
--- incubator/stdcxx/trunk/tests/src/alloc.cpp (original)
+++ incubator/stdcxx/trunk/tests/src/alloc.cpp Mon Oct  9 16:48:26 2006
@@ -162,6 +162,15 @@
 
 #endif   // _WIN{32,64}
 
+#ifndef MAP_PRIVATE
+#  define MAP_PRIVATE     0
+#endif   // MAP_PRIVATE
+
+#ifndef MAP_ANONYMOUS
+   // no MAP_ANONYMOUS on IRIX64
+#  define MAP_ANONYMOUS   0
+#endif   // MAP_ANONYMOUS
+
 /************************************************************************/
 
 struct BlockInfo



Mime
View raw message