]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Change to common header files not applicable to open-vm-tools.
authorKruti Pendharkar <kp025370@broadcom.com>
Tue, 22 Jul 2025 07:06:54 +0000 (00:06 -0700)
committerKruti Pendharkar <kp025370@broadcom.com>
Tue, 22 Jul 2025 07:06:54 +0000 (00:06 -0700)
open-vm-tools/lib/include/log.h
open-vm-tools/lib/include/vthreadBase.h

index 13ea91357003c094032a4482c25f8a139f5e9ddc..240b809aed7bb6c80d4eab6ee46c9c72b4f4465e 100644 (file)
@@ -317,7 +317,7 @@ Log_Trivia(const char *fmt,
    va_end(ap);
 }
 
-#if !defined(VMM)
+#if !defined(VMM) && !defined(GLM)
 typedef struct {
    int32       legalLevelValue;
    const char *legalName;
@@ -818,4 +818,3 @@ Log_IsThrottled(LogThrottleInfo *info,
 
 #define VMW_LOG_ROUTING_EX(name, level) \
         (((LOGFACILITY_GROUPVAR(name) + 1) << VMW_LOG_LEVEL_BITS) | (level))
-
index b473e5fe70f11e145437feb8f61492cd6dd16032..731d5be405ca9c7324a8b9a2710ca491a2b54559 100644 (file)
@@ -1,5 +1,6 @@
 /*********************************************************
- * Copyright (C) 2006-2021 VMware, Inc. All rights reserved.
+ * Copyright (c) 2006-2025 Broadcom. All Rights Reserved.
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
  *
  * 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
@@ -36,7 +37,7 @@
 
 #include "vm_atomic.h"
 
-#if !defined VMM
+#if !defined VMM && !defined GLM
 
 /*
  * Most major OSes now support __thread, so begin making TLS access via
@@ -82,7 +83,7 @@ typedef uintptr_t VThreadID;
 
 #define VTHREAD_INVALID_ID    (VThreadID)(0)
 
-#ifdef VMM
+#if defined(VMM) || defined(GLM)
 /*
  *-----------------------------------------------------------------------------
  *