2001-10-11 12:16:21 +00:00
|
|
|
|
2004-07-25 12:01:00 +00:00
|
|
|
// This file was automatically generated on Sun Jul 25 11:47:49 GMTDT 2004,
|
|
|
|
// by libs/config/tools/generate
|
|
|
|
// Copyright John Maddock 2002-4.
|
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_YIELD
|
|
|
|
// This file should not compile, if it does then
|
|
|
|
// BOOST_HAS_PTHREAD_YIELD may be defined.
|
2004-06-15 11:37:57 +00:00
|
|
|
// see boost_has_pthread_yield.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_yield.ipp on
|
2004-07-25 12:01:00 +00:00
|
|
|
// Sun Jul 25 11:47:49 GMTDT 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_YIELD
|
2004-06-15 11:37:57 +00:00
|
|
|
#include "boost_has_pthread_yield.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_yield::test();
|
|
|
|
}
|
|
|
|
|