summaryrefslogtreecommitdiff
path: root/boost/detail/winapi/GetThreadTimes.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/detail/winapi/GetThreadTimes.hpp')
-rw-r--r--boost/detail/winapi/GetThreadTimes.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/detail/winapi/GetThreadTimes.hpp b/boost/detail/winapi/GetThreadTimes.hpp
index d69c410e61..62c853c322 100644
--- a/boost/detail/winapi/GetThreadTimes.hpp
+++ b/boost/detail/winapi/GetThreadTimes.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_thread_times.hpp instead."
#elif defined(_MSC_VER)
#pragma message("This header is deprecated, use boost/detail/winapi/get_thread_times.hpp instead.")