Added BOOST_HAS_GETTIMEOFDAY

[SVN r11381]
This commit is contained in:
John Maddock
2001-10-13 10:19:42 +00:00
parent 5698a3da9c
commit a4073dbdc2

View File

@ -25,6 +25,14 @@
# endif # endif
#endif #endif
//
// If glibc is past version 2 then we definitely have
// gettimeofday, earlier versions may or may not have it:
//
#if defined(__GLIBC__) && (__GLIBC__ >= 2)
# define BOOST_HAS_GETTIMEOFDAY
#endif
#if defined(__GLIBC__) && defined(__GLIBC_PREREQ) #if defined(__GLIBC__) && defined(__GLIBC_PREREQ)
// __GLIBC_PREREQ is available since 2.1.2 // __GLIBC_PREREQ is available since 2.1.2