diff options
Diffstat (limited to 'boost/detail/winapi/GetCurrentThread.hpp')
-rw-r--r-- | boost/detail/winapi/GetCurrentThread.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/detail/winapi/GetCurrentThread.hpp b/boost/detail/winapi/GetCurrentThread.hpp index 047add8c9c..52dea5a67e 100644 --- a/boost/detail/winapi/GetCurrentThread.hpp +++ b/boost/detail/winapi/GetCurrentThread.hpp @@ -16,7 +16,7 @@ #pragma once #endif -#if defined(__GNUC__) +#if defined(__GNUC__) && (((__GNUC__*100)+__GNUC_MINOR__) > 403) #pragma message "This header is deprecated, use boost/detail/winapi/get_current_thread.hpp instead." #elif defined(_MSC_VER) #pragma message("This header is deprecated, use boost/detail/winapi/get_current_thread.hpp instead.") |