/*********************************************************
- * Copyright (c) 2020-2021 VMware, Inc. All rights reserved.
+ * Copyright (c) 2020-2021,2023 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
#ifndef _GLOBAL_CONFIG_H_
#define _GLOBAL_CONFIG_H_
-#if defined(_WIN32) || (defined(__linux__) && !defined(USERWORLD))
+#if (defined(_WIN32) && !defined(_ARM64_)) || \
+ (defined(__linux__) && !defined(USERWORLD))
#define GLOBALCONFIG_SUPPORTED 1
#include "vmware/tools/utils.h"
#include "vmware/tools/vmbackup.h"
-#if defined(_WIN32) || \
- (defined(__linux__) && !defined(USERWORLD))
+#if (defined(_WIN32) && !defined(_ARM64_)) || \
+ (defined(__linux__) && !defined(USERWORLD))
# include "vmware/tools/guestStore.h"
# include "globalConfig.h"
#endif
* guestStoreClient library is needed for both GuestStore-based tools upgrade
* and also for GlobalConfig module.
*/
-#if defined(_WIN32) || defined(GLOBALCONFIG_SUPPORTED)
+#if (defined(_WIN32) && !defined(_ARM64_)) || defined(GLOBALCONFIG_SUPPORTED)
# include "guestStoreClient.h"
#endif
static void
ToolsCoreCleanup(ToolsServiceState *state)
{
-#if defined(_WIN32) || \
- (defined(__linux__) && !defined(USERWORLD))
+#if (defined(_WIN32) && !defined(_ARM64_)) || \
+ (defined(__linux__) && !defined(USERWORLD))
if (state->mainService) {
/*
* Shut down guestStore plugin first to prevent worker threads from being
}
#endif
-#if defined(_WIN32) || defined(GLOBALCONFIG_SUPPORTED)
+#if (defined(_WIN32) && !defined(_ARM64_)) || defined(GLOBALCONFIG_SUPPORTED)
/*
* guestStoreClient library is needed for both GuestStore-based tools
* upgrade and also for GlobalConfig module.
}
#endif
-#if defined(_WIN32) || defined(GLOBALCONFIG_SUPPORTED)
+#if (defined(_WIN32) && !defined(_ARM64_)) || defined(GLOBALCONFIG_SUPPORTED)
/*
* guestStoreClient library is needed for both GuestStore-based tools
* upgrade and also for GlobalConfig module.
/*********************************************************
- * Copyright (c) 2008-2021 VMware, Inc. All rights reserved.
+ * Copyright (c) 2008-2021,2023 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
#include <glib-object.h>
#include <gmodule.h>
#include <time.h>
-#if defined(_WIN32) || (defined(__linux__) && !defined(USERWORLD))
+#if (defined(_WIN32) && !defined(_ARM64_)) || \
+ (defined(__linux__) && !defined(USERWORLD))
/* Need this header for GLOBALCONFIG_SUPPORTED definition.*/
#include "globalConfig.h"
#endif