]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Fix a spurious warning.
authorVMware, Inc <>
Wed, 18 Sep 2013 03:19:13 +0000 (20:19 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 23 Sep 2013 05:06:56 +0000 (22:06 -0700)
/dbc/pa-dbc1121/rrugina/rr-vmcore-dbc0/bora/public/vm_basic_defs.h:315:5:
warning: "VMKERNEL" is not defined

Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
open-vm-tools/lib/include/vm_basic_defs.h

index c2085379a6d88ba1f9fcd77c0fdc59da92250885..acf9d195f00d558c98e69b7a7b4229f5a48f4e96 100644 (file)
@@ -367,7 +367,7 @@ void *_ReturnAddress(void);
 #elif __GNUC__
 #define GetReturnAddress() __builtin_return_address(0)
 
-#if VMKERNEL
+#ifdef VMKERNEL
 /*
  * Using __builtin_frame_address(N) and__builtin_return_address(N)
  * with N >= 1 causes crashes for code compiled without frame pointers.