diff --git a/sdk/core/azure-core/inc/azure/core/azure_assert.hpp b/sdk/core/azure-core/inc/azure/core/azure_assert.hpp new file mode 100644 index 000000000..2b9ca56cf --- /dev/null +++ b/sdk/core/azure-core/inc/azure/core/azure_assert.hpp @@ -0,0 +1,19 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// SPDX-License-Identifier: MIT + +#pragma once + +/** + * @file + * @brief Deprecated assert macros. It is only temporarily made available for compatibility and + * should NOT be used by any callers outside of the SDK. + * + */ + +#include "azure/core/internal/azure_assert.hpp" + +#define AZURE_ASSERT(exp) _azure_ASSERT(exp) +#define AZURE_ASSERT_MSG(exp, msg) _azure_ASSERT_MSG(exp, msg) +#define AZURE_ASSERT_FALSE(exp) _azure_ASSERT_FALSE(exp) +#define AZURE_UNREACHABLE_CODE() _azure_UNREACHABLE_CODE() +#define AZURE_NOT_IMPLEMENTED() _azure_NOT_IMPLEMENTED()