[Mesa-dev] [PATCH 3/5] util: remove support for GCC older than 4.8

Timothy Arceri timothy.arceri at collabora.com
Wed Sep 7 04:28:18 UTC 2016


---
 src/util/macros.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/util/macros.h b/src/util/macros.h
index 9ddf675..7ca891a 100644
--- a/src/util/macros.h
+++ b/src/util/macros.h
@@ -168,9 +168,7 @@ do {                       \
  * trivially destructible themselves.
  */
 #   if defined(__GNUC__)
-#      if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)))
-#         define HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T)
-#      endif
+#      define HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T)
 #   elif (defined(__clang__) && defined(__has_feature))
 #      if __has_feature(has_trivial_destructor)
 #         define HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T)
-- 
2.7.4



More information about the mesa-dev mailing list