From: Oliver Kurth Date: Fri, 20 Dec 2019 20:25:51 +0000 (-0800) Subject: Common header file change not applicable to open-vm-tools. X-Git-Tag: stable-11.1.0~106 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb0cd9aad5d363c59ccd05841c0126e8cc750c7c;p=thirdparty%2Fopen-vm-tools.git Common header file change not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/vm_basic_defs.h b/open-vm-tools/lib/include/vm_basic_defs.h index 4939586b8..6b672537e 100644 --- a/open-vm-tools/lib/include/vm_basic_defs.h +++ b/open-vm-tools/lib/include/vm_basic_defs.h @@ -477,10 +477,6 @@ void *_ReturnAddress(void); #define strtok_r strtok_s -#if (_MSC_VER < 1500) -#define vsnprintf _vsnprintf -#endif - typedef int uid_t; typedef int gid_t; @@ -504,20 +500,9 @@ typedef int pid_t; #define W_OK 2 #define R_OK 4 -#endif // } +#endif // } _WIN32 -/* - * Macro for username comparison. - */ - -#ifdef _WIN32 // { -#define USERCMP(x,y) Str_Strcasecmp(x,y) -#else -#define USERCMP(x,y) strcmp(x,y) -#endif // } - - -#endif // } +#endif // } USERLEVEL #ifndef va_copy @@ -738,7 +723,6 @@ typedef int pid_t; * display/printer drivers only. */ #ifdef _WIN32 -#ifndef USES_OLD_WINDDK #if defined(VMX86_LOG) #ifdef _WIN64 #define WinDrvPrint(arg, ...) DbgPrintEx(DPFLTR_IHVDRIVER_ID, (ULONG)~0, arg, __VA_ARGS__) @@ -750,7 +734,6 @@ typedef int pid_t; #define WinDrvPrint(arg, ...) #define WinDrvEngPrint(arg, ...) #endif -#endif #endif // _WIN32 /*