From a0536d7f2bb9c8b05e42afbc3450368ed99a2230 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Wed, 14 Sep 2005 13:42:25 +0000 Subject: [PATCH] Some additional functionality is available with MinGW+GCC-3.4.2. [SVN r30983] --- include/boost/config/platform/win32.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/boost/config/platform/win32.hpp b/include/boost/config/platform/win32.hpp index 548bff28..8e106677 100644 --- a/include/boost/config/platform/win32.hpp +++ b/include/boost/config/platform/win32.hpp @@ -24,6 +24,12 @@ # define __STDC_LIMIT_MACROS #endif +#if defined(__MINGW32__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 4))) +# define BOOST_HAS_MS_INT64 +# define BOOST_HAS_DIRENT_H +# define BOOST_HAS_UNISTD_H +#endif + // // Win32 will normally be using native Win32 threads, // but there is a pthread library avaliable as an option,