Document BOOST_HAS_GETSYSTEMTIMEASFILETIME, add test case, and change test for BOOST_HAS_FTIME.

Refs #2881.

[SVN r73058]
This commit is contained in:
John Maddock
2011-07-13 18:03:52 +00:00
parent a9a6cecaa3
commit 2b7da15387
15 changed files with 158 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
// This file was automatically generated on Wed Jun 1 21:44:56 2011
// This file was automatically generated on Wed Jul 13 18:50:14 2011
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
@@ -633,6 +633,11 @@ namespace boost_has_expm1 = empty_boost;
#else
namespace boost_has_ftime = empty_boost;
#endif
#ifdef BOOST_HAS_GETSYSTEMTIMEASFILETIME
#include "boost_has_getsystemtimeasfiletime.ipp"
#else
namespace boost_has_getsystemtimeasfiletime = empty_boost;
#endif
#ifdef BOOST_HAS_GETTIMEOFDAY
#include "boost_has_gettimeofday.ipp"
#else
@@ -886,6 +891,11 @@ int main( int, char *[] )
std::cerr << "Failed test for BOOST_HAS_FTIME at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
if(0 != boost_has_getsystemtimeasfiletime::test())
{
std::cerr << "Failed test for BOOST_HAS_GETSYSTEMTIMEASFILETIME at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
if(0 != boost_has_gettimeofday::test())
{
std::cerr << "Failed test for BOOST_HAS_GETTIMEOFDAY at: " << __FILE__ << ":" << __LINE__ << std::endl;