]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Get rid of ALLOS_EXCEPTDARWINANDVMKERNEL
authorVMware, Inc <>
Wed, 26 Dec 2012 21:24:44 +0000 (13:24 -0800)
committerDmitry Torokhov <dtor@vmware.com>
Thu, 27 Dec 2012 19:46:59 +0000 (11:46 -0800)
Petr noted that maintaining ALLOS_EXCEPTDARWINANDVMKERNEL
is a bug waiting to happen.  Since it's only used in one place,
we can set the value for ALLOS and then reset it to the default
for DARWIN and VMKERNEL.

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

index 10dadd06caf42589e8ed0f4d4618cefe64d4c669..89910a416d7143840334cc104e58bd5e869209fa 100644 (file)
@@ -163,10 +163,6 @@ Bool Gos_InSetArray(uint32 gos, const uint32 *set);
 
 #define ALLECOMSTATION        BS(ECOMSTATION), BS(ECOMSTATION2)
 #define ALLOS2                BS(OS2), ALLECOMSTATION
-#define ALLOS_EXCEPTDARWINANDVMKERNEL                                \
-                              ALLWIN, ALLFREEBSD, ALLSOLARIS,        \
-                              ALLNETWARE, ALLLINUX, ALLECOMSTATION,  \
-                              ALLOS2
 
 /*
  * These constants are generated by GuestInfoGetOSName which is in