Commit 5916f2f6 by Iain Buclaw

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.
parent 75f758a7
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> 2020-04-28 Iain Buclaw <ibuclaw@gdcproject.org>
PR d/94825 PR d/94825
......
...@@ -285,7 +285,7 @@ proc check_effective_target_linux_pre_2639 { } { ...@@ -285,7 +285,7 @@ proc check_effective_target_linux_pre_2639 { } {
if { [check_no_compiler_messages linux_pre_2639 assembly { if { [check_no_compiler_messages linux_pre_2639 assembly {
#include <linux/version.h> #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. #error Yes, it is.
#endif #endif
}] } { }] } {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment