BeBuild: Expand compatibility to GCC 12.

Since we are currently in the process of upgrading to GCC 11, it makes
sense to change this header before we actually need to.
This commit is contained in:
Augustin Cavalier 2021-11-16 15:12:58 -05:00
parent 68a13ed5c3
commit 3bdd837e4e

View File

@ -51,7 +51,7 @@
#if __GNUC__ == 2
# define B_HAIKU_ABI B_HAIKU_ABI_GCC_2_HAIKU
#elif (__GNUC__ >= 4 && __GNUC__ <= 11) || defined(__TINYC__)
#elif (__GNUC__ >= 4 && __GNUC__ <= 12) || defined(__TINYC__)
# define B_HAIKU_ABI B_HAIKU_ABI_GCC_4
#else
# error Unsupported compiler!