From 4c4cc27681860746249218d5ee12e5acd21985ca Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 18 Nov 2015 10:37:14 +0000 Subject: [PATCH 07/11] Fix vmblock linux detection This is needed for musl libc. Signed-off-by: Natanael Copa --- open-vm-tools/lib/include/vmblock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/open-vm-tools/lib/include/vmblock.h b/open-vm-tools/lib/include/vmblock.h index 8dbb0ce..541fd46 100644 --- a/open-vm-tools/lib/include/vmblock.h +++ b/open-vm-tools/lib/include/vmblock.h @@ -145,7 +145,7 @@ # define VMBLOCK_DEVICE_MODE VMBLOCK_FUSE_DEVICE_MODE # define VMBLOCK_MOUNT_POINT VMBLOCK_FUSE_MOUNT_POINT -#elif defined(linux) +#elif defined(__linux__) # define VMBLOCK_ADD_FILEBLOCK 98 # define VMBLOCK_DEL_FILEBLOCK 99 # ifdef VMX86_DEVEL -- 2.6.3