]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Changes in shared code that don't affect open-vm-tools functionality.
authorVMware, Inc <>
Mon, 15 Oct 2012 04:57:58 +0000 (21:57 -0700)
committerDmitry Torokhov <dtor@vmware.com>
Fri, 19 Oct 2012 18:32:42 +0000 (11:32 -0700)
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
open-vm-tools/lib/include/vm_ctype.h

index ccb1b5b196b65efd0275c1f3a942639390f20deb..fc1c384adbda42588a74edc527659d81a9c829df 100644 (file)
@@ -23,6 +23,7 @@
 #ifndef _VM_CTYPE_H_
 #define _VM_CTYPE_H_
 
+#define INCLUDE_ALLOW_VMCORE
 #define INCLUDE_ALLOW_USERLEVEL
 #include "includeCheck.h"
 
@@ -39,7 +40,7 @@
 #define CType_IsAlnum(c) isalnum((c) & 0xFF)
 #define CType_IsAlpha(c) isalpha((c) & 0xFF)
 #define CType_IsAscii(c) isascii((c) & 0xFF)
-#define CType_IsBlank(c) isblank((c) & 0xFF)
+static __inline int CType_IsBlank(int c) { return c == ' ' || c == '\t'; }
 #define CType_IsCntrl(c) iscntrl((c) & 0xFF)
 #define CType_IsDigit(c) isdigit((c) & 0xFF)
 #define CType_IsGraph(c) isgraph((c) & 0xFF)