]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common header file change not applicable to open-vm-tools.
authorJohn Wolfe <jwolfe@vmware.com>
Tue, 13 Sep 2022 17:31:14 +0000 (10:31 -0700)
committerJohn Wolfe <jwolfe@vmware.com>
Tue, 13 Sep 2022 17:31:14 +0000 (10:31 -0700)
open-vm-tools/lib/include/str.h

index 61e13a314c139b9dda0c746d9ed260acd6b3d575..ea3bd5dbbb0b04740cdb170480551996b0efa8f6 100644 (file)
@@ -1,5 +1,5 @@
 /*********************************************************
- * Copyright (C) 1998-2020 VMware, Inc. All rights reserved.
+ * Copyright (C) 1998-2020,2022 VMware, Inc. All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the GNU Lesser General Public License as published
@@ -218,6 +218,7 @@ wchar_t *Str_SafeVaswprintf(size_t *length,         // OUT/OPT:
 
 #define Str_Strcmp(s1, s2) strcmp(s1, s2)
 #define Str_Strncmp(s1, s2, n) strncmp(s1, s2, n)
+#define Str_Strequal(s1,s2) (0 == (Str_Strcmp(s1, s2)))
 
 #define Str_Strchr(s, c) strchr(s, c)
 #define Str_Strrchr(s, c) strrchr(s, c)