| Line |   | 
|---|
| 1 | //  This file was automatically generated on Fri Dec 03 18:04:00 2004 | 
|---|
| 2 | //  by libs/config/tools/generate.cpp | 
|---|
| 3 | //  Copyright John Maddock 2002-4. | 
|---|
| 4 | //  Use, modification and distribution are subject to the  | 
|---|
| 5 | //  Boost Software License, Version 1.0. (See accompanying file  | 
|---|
| 6 | //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | 
|---|
| 7 |  | 
|---|
| 8 | //  See http://www.boost.org/libs/config for the most recent version. | 
|---|
| 9 |  | 
|---|
| 10 | // Test file for macro BOOST_HAS_WINTHREADS | 
|---|
| 11 | // This file should compile, if it does not then | 
|---|
| 12 | // BOOST_HAS_WINTHREADS should not be defined. | 
|---|
| 13 | // See file boost_has_winthreads.ipp for details | 
|---|
| 14 |  | 
|---|
| 15 | // Must not have BOOST_ASSERT_CONFIG set; it defeats | 
|---|
| 16 | // the objective of this file: | 
|---|
| 17 | #ifdef BOOST_ASSERT_CONFIG | 
|---|
| 18 | #  undef BOOST_ASSERT_CONFIG | 
|---|
| 19 | #endif | 
|---|
| 20 |  | 
|---|
| 21 | #include <boost/config.hpp> | 
|---|
| 22 | #include "test.hpp" | 
|---|
| 23 |  | 
|---|
| 24 | #ifdef BOOST_HAS_WINTHREADS | 
|---|
| 25 | #include "boost_has_winthreads.ipp" | 
|---|
| 26 | #else | 
|---|
| 27 | namespace boost_has_winthreads = empty_boost; | 
|---|
| 28 | #endif | 
|---|
| 29 |  | 
|---|
| 30 | int main( int, char *[] ) | 
|---|
| 31 | { | 
|---|
| 32 |    return boost_has_winthreads::test(); | 
|---|
| 33 | } | 
|---|
| 34 |  | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.