diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-04-29 10:42:21 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-04-29 10:42:21 +0200 |
commit | 5916f2f6735bf739a66fbebffba50bd975c22ecb (patch) | |
tree | 3a29cb1c2a2305be4e8dd3e56c01f373c42e8cf4 /libphobos | |
parent | 75f758a703924184fc07b01a138bb6f0028d077c (diff) | |
download | gcc-5916f2f6735bf739a66fbebffba50bd975c22ecb.zip gcc-5916f2f6735bf739a66fbebffba50bd975c22ecb.tar.gz gcc-5916f2f6735bf739a66fbebffba50bd975c22ecb.tar.bz2 |
libphobos: Fix KERNEL_VERSION condition in libphobos testsuite
A typo in the macro call meant that the #error always triggered.
libphobos/ChangeLog:
* testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
Fix KERNEL_VERSION condition.
Diffstat (limited to 'libphobos')
-rw-r--r-- | libphobos/ChangeLog | 5 | ||||
-rw-r--r-- | libphobos/testsuite/lib/libphobos.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index a4e209d..f8a8218 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,8 @@ +2020-04-29 Iain Buclaw <ibuclaw@gdcproject.org> + + * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639): + Fix KERNEL_VERSION condition. + 2020-04-28 Iain Buclaw <ibuclaw@gdcproject.org> PR d/94825 diff --git a/libphobos/testsuite/lib/libphobos.exp b/libphobos/testsuite/lib/libphobos.exp index 7e6e53e..2e9da95 100644 --- a/libphobos/testsuite/lib/libphobos.exp +++ b/libphobos/testsuite/lib/libphobos.exp @@ -285,7 +285,7 @@ proc check_effective_target_linux_pre_2639 { } { if { [check_no_compiler_messages linux_pre_2639 assembly { #include <linux/version.h> - #if !defined LINUX_VERSION_CODE || LINUX_VERSION_CODE < KERNEL_VERSION(2.6.39) + #if !defined LINUX_VERSION_CODE || LINUX_VERSION_CODE < KERNEL_VERSION(2,6,39) #error Yes, it is. #endif }] } { |