From 708f40e5a96189825cf55e2d8011abd31fd051e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Fri, 23 Jan 2009 12:36:36 +0000 Subject: [PATCH] Fixed GCC version check according to Michael. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28996 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/arch/x86/apm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/kernel/arch/x86/apm.cpp b/src/system/kernel/arch/x86/apm.cpp index ac5757ad2d..f66496ef9c 100644 --- a/src/system/kernel/arch/x86/apm.cpp +++ b/src/system/kernel/arch/x86/apm.cpp @@ -91,7 +91,7 @@ apm_error(uint32 error) static status_t call_apm_bios(bios_regs *regs) { -#if _GNUC_ >= 4 +#if __GNUC__ < 4 // TODO: Fix this for GCC 4.3! The direct reference to sAPMBiosEntry // in the asm below causes undefined references. asm volatile(