audk/RedfishPkg/Include/RedfishCommon.h
Nickle Wang 48b5815d77 RedfishPkg/Include: add common RedfishPkg header file.
IS_EMPTY_STRING macro is defined in multiple drivers in RedfishPkg.
So, I create RedfishCommon.h to keep common macros that we can use
in RedfishPkg.

Signed-off-by: Nickle Wang <nicklew@nvidia.com>
2024-09-27 18:59:04 +00:00

18 lines
378 B
C

/** @file
This header file defines common macros for the use in RedfishPkg.
Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef REDFISH_COMMON_H_
#define REDFISH_COMMON_H_
#ifndef IS_EMPTY_STRING
#define IS_EMPTY_STRING(a) ((a) == NULL || (a)[0] == '\0')
#endif
#endif