From: VMware, Inc <> Date: Mon, 15 Oct 2012 04:57:58 +0000 (-0700) Subject: Changes in shared code that don't affect open-vm-tools functionality. X-Git-Tag: 2012.10.14-874563~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f58771bfb4bb93ebc1485d05ea5604a3600ee3f9;p=thirdparty%2Fopen-vm-tools.git Changes in shared code that don't affect open-vm-tools functionality. Signed-off-by: Dmitry Torokhov --- diff --git a/open-vm-tools/lib/include/vm_ctype.h b/open-vm-tools/lib/include/vm_ctype.h index ccb1b5b19..fc1c384ad 100644 --- a/open-vm-tools/lib/include/vm_ctype.h +++ b/open-vm-tools/lib/include/vm_ctype.h @@ -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)