Files
config/test/has_sigaction_fail.cpp

37 lines
981 B
C++
Raw Normal View History

2003-02-13 12:28:49 +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.
2003-02-13 12:28:49 +00:00
// Test file for macro BOOST_HAS_SIGACTION
// This file should not compile, if it does then
// BOOST_HAS_SIGACTION may be defined.
// see boost_has_sigaction.ipp for more details
2003-02-13 12:28:49 +00:00
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_sigaction.ipp on
// Tue Jun 15 11:47:07 GMTST 2004
2003-02-13 12:28:49 +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_SIGACTION
#include "boost_has_sigaction.ipp"
2003-02-13 12:28:49 +00:00
#else
#error "this file should not compile"
#endif
int main( int, char *[] )
2003-02-13 12:28:49 +00:00
{
return boost_has_sigaction::test();
}