summaryrefslogtreecommitdiffstats
path: root/include/c99_compat.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2014-12-12 19:05:22 +1100
committerTimothy Arceri <[email protected]>2014-12-17 08:37:05 +1100
commit5eec7c8ab8bddce1de45eee6c48b7078f41a4e2f (patch)
tree7ce91554304c6bf1511138fc9345f774c74ad5a9 /include/c99_compat.h
parent2308b3bef25723b1ebff0b71f2f87dd44050cc2c (diff)
mesa: remove support for GCC older than 3.3.0
GCC >=3.3 has been required since 9aa3aa71386394725ce88df463d6183f62777ee5 Signed-off-by: Timothy Arceri <[email protected]> Reviewed-By: Jose Fonseca <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'include/c99_compat.h')
-rw-r--r--include/c99_compat.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/c99_compat.h b/include/c99_compat.h
index 429c6014845..e5d0ae43a50 100644
--- a/include/c99_compat.h
+++ b/include/c99_compat.h
@@ -114,11 +114,7 @@
# elif defined(__SUNPRO_C) && defined(__C99FEATURES__)
/* C99 */
# elif defined(__GNUC__)
-# if __GNUC__ >= 2
-# define __func__ __FUNCTION__
-# else
-# define __func__ "<unknown>"
-# endif
+# define __func__ __FUNCTION__
# elif defined(_MSC_VER)
# if _MSC_VER >= 1300
# define __func__ __FUNCTION__