| 
									
										
										
										
											2001-10-11 12:16:21 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-10-14 10:33:24 +00:00
										 |  |  | //  Use, modification and distribution are subject to the 
 | 
					
						
							|  |  |  | //  Boost Software License, Version 1.0. (See accompanying file 
 | 
					
						
							|  |  |  | //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | //  See http://www.boost.org/libs/config for the most recent version.
 | 
					
						
							| 
									
										
										
										
											2001-10-11 12:16:21 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | // Test file for macro BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
 | 
					
						
							|  |  |  | // This file should not compile, if it does then
 | 
					
						
							|  |  |  | // BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE may be defined.
 | 
					
						
							| 
									
										
										
										
											2004-06-15 11:37:57 +00:00
										 |  |  | // see boost_has_pthread_ma_st.ipp for more details
 | 
					
						
							| 
									
										
										
										
											2001-10-11 12:16:21 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | // Do not edit this file, it was generated automatically by
 | 
					
						
							| 
									
										
										
										
											2004-06-15 11:37:57 +00:00
										 |  |  | // ../tools/generate from boost_has_pthread_ma_st.ipp on
 | 
					
						
							|  |  |  | // Tue Jun 15 11:47:07 GMTST 2004
 | 
					
						
							| 
									
										
										
										
											2001-10-11 12:16:21 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | // Must not have BOOST_ASSERT_CONFIG set; it defeats
 | 
					
						
							|  |  |  | // the objective of this file:
 | 
					
						
							|  |  |  | #ifdef BOOST_ASSERT_CONFIG
 | 
					
						
							|  |  |  | #  undef BOOST_ASSERT_CONFIG
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <boost/config.hpp>
 | 
					
						
							|  |  |  | #include "test.hpp"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifndef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
 | 
					
						
							| 
									
										
										
										
											2004-06-15 11:37:57 +00:00
										 |  |  | #include "boost_has_pthread_ma_st.ipp"
 | 
					
						
							| 
									
										
										
										
											2001-10-11 12:16:21 +00:00
										 |  |  | #else
 | 
					
						
							|  |  |  | #error "this file should not compile"
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-06-15 11:37:57 +00:00
										 |  |  | int main( int, char *[] ) | 
					
						
							| 
									
										
										
										
											2001-10-11 12:16:21 +00:00
										 |  |  | { | 
					
						
							| 
									
										
										
										
											2002-01-17 12:46:26 +00:00
										 |  |  |    return boost_has_pthread_mutexattr_settype::test(); | 
					
						
							|  |  |  | }   | 
					
						
							|  |  |  |     |