mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-03 06:58:23 +00:00
8288082: Build failure due to __clang_major__ is not defined after JDK-8214976
Reviewed-by: dholmes
This commit is contained in:
parent
65f0829d64
commit
a941bc2de6
@ -63,7 +63,7 @@
|
||||
|
||||
#endif // clang/gcc version check
|
||||
|
||||
#if (__GNUC__ >= 9) || (__clang_major__ >= 14)
|
||||
#if (__GNUC__ >= 9) || (defined(__clang_major__) && (__clang_major__ >= 14))
|
||||
|
||||
// Use "warning" attribute to detect uses of "forbidden" functions.
|
||||
//
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user