]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Address feedback in vm_basic_types.h
authorVMware, Inc <>
Mon, 20 Dec 2010 21:42:23 +0000 (13:42 -0800)
committerMarcelo Vanzin <mvanzin@vmware.com>
Mon, 20 Dec 2010 21:42:23 +0000 (13:42 -0800)
The gcc-3.3 enforcement preprocessor error has a &&/||
precedence problem.  Add appropriate parens.

Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/lib/include/vm_basic_types.h

index fbb2f03a411e7176088ee723c7d948a1a5624121..15751280d5e116b9778a0dba2f5d806879069016 100644 (file)
@@ -655,7 +655,7 @@ typedef void * UserVA;
  * In practice, most things presently compile with gcc-4.1 or gcc-4.4.
  * The various linux kernel modules may use older (gcc-3.3) compilers.
  */
-#if defined __GNUC__ && __GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 3)
+#if defined __GNUC__ && (__GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 3))
 #error "gcc version is to old to compile assembly, need gcc-3.3 or better"
 #endif