mirror of
https://github.com/boostorg/config.git
synced 2025-11-02 16:52:20 +01:00
- Make dummy function uncallable (added to silence GCC warning) config_test.cpp: regression.cfg: - Regenerated boost_has_pthread_ma_st.cxx: - BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE macro test boost_has_pthread_ma_gt.cxx: - BOOST_HAS_PTHREAD_MUTEXATTR_GETTYPE macro is unused, so remove it [SVN r12551]
37 lines
1.1 KiB
C++
37 lines
1.1 KiB
C++
|
|
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
|
|
// distribute this software is granted provided this copyright notice appears
|
|
// in all copies. This software is provided "as is" without express or implied
|
|
// warranty, and with no claim as to its suitability for any purpose.
|
|
|
|
// Test file for macro BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
|
// This file should compile, if it does not then
|
|
// BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE should not be defined.
|
|
// see boost_has_pthread_ma_st.cxx for more details
|
|
|
|
// Do not edit this file, it was generated automatically by
|
|
// ../tools/generate from boost_has_pthread_ma_st.cxx on
|
|
// Tue Jan 29 08:44:30 EST 2002
|
|
|
|
// 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 <boost/test/cpp_main.cpp>
|
|
#include "test.hpp"
|
|
|
|
#ifdef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
|
#include "boost_has_pthread_ma_st.cxx"
|
|
#else
|
|
namespace boost_has_pthread_mutexattr_settype = empty_boost;
|
|
#endif
|
|
|
|
int cpp_main( int, char *[] )
|
|
{
|
|
return boost_has_pthread_mutexattr_settype::test();
|
|
}
|
|
|