]> 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>
Fri, 9 Jul 2021 03:10:23 +0000 (20:10 -0700)
committerJohn Wolfe <jwolfe@vmware.com>
Fri, 9 Jul 2021 03:10:23 +0000 (20:10 -0700)
open-vm-tools/lib/include/vm_basic_defs.h

index 71a581d195e796f7e301d91e9ce30e5590ffc71a..2ebccb33e5659542edfaf8e7ff55e3167c7a6c51 100644 (file)
@@ -900,9 +900,9 @@ typedef int pid_t;
  *   If not GCC 9 or above, expands to nothing.
  */
 #if __GNUC__ >= 9
-#define VMW_FALLTHROUGH __attribute__((fallthrough))
+#define VMW_FALLTHROUGH() __attribute__((fallthrough))
 #else
-#define VMW_FALLTHROUGH
+#define VMW_FALLTHROUGH()
 #endif
 
 #endif // ifndef _VM_BASIC_DEFS_H_