From: Kruti Date: Fri, 3 May 2024 16:05:45 +0000 (-0700) Subject: Change to common header file not applicable to open-vm-tools. X-Git-Tag: stable-12.5.0~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=550b331d8c9b738065ea4c99daa07dcd1ab9235d;p=thirdparty%2Fopen-vm-tools.git Change to common header file not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/vm_atomic.h b/open-vm-tools/lib/include/vm_atomic.h index f3bbb8437..db9d2cdd8 100644 --- a/open-vm-tools/lib/include/vm_atomic.h +++ b/open-vm-tools/lib/include/vm_atomic.h @@ -188,26 +188,11 @@ typedef ALIGNED(16) struct Atomic_uint128 { * Whether GCC flags output operands are supported. * If building with GCC 6+ on x86, and 10+ on arm, flags output is supported. * Some pieces are still built with GCC 4, which doesn't support flag outputs. - * Also support was added for x86 before ARM / AARCH64. */ #ifdef __GCC_ASM_FLAG_OUTPUTS__ -/* - * The above check should be sufficient to see whether the current compiler - * supports GCC style assembly flag outputs, but just in case print a debug - * message if it looks like we're being compiled with an older version of - * GCC before assembly flag outputs was added. - */ -#if defined(VM_X86_ANY) && __GNUC__ < 6 - #pragma message "GCC < 6 claims to support x86 asm flag outputs" -#elif defined(VM_ARM_ANY) && __GNUC__ < 10 - #pragma message "GCC < 10 claims to support ARM asm flag outputs" -#endif - #define IF_ASM_FLAG_OUTPUT(supportedValue, fallbackValue) supportedValue - #else /* older gcc (or not gcc), flags output is not supported */ #define IF_ASM_FLAG_OUTPUT(supportedValue, fallbackValue) fallbackValue - #endif