mirror of https://github.com/acidanthera/audk.git
ArmPkg: Fix Ecc error 6001 in ArmSoftFloatLib
This patch fixes the following Ecc reported error: All include file contents should be guarded by a #ifndef statement. Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
parent
152015fa65
commit
f21e72135d
|
@ -1,11 +1,17 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2019, Linaro Limited
|
* Copyright (c) 2019, Linaro Limited
|
||||||
|
* Copyright (c) 2021, Arm Limited. All rights reserved.<BR>
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-2-Clause-Patent
|
* SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef ARM_SOFT_FLOAT_LIB_H_
|
||||||
|
#define ARM_SOFT_FLOAT_LIB_H_
|
||||||
|
|
||||||
#define LITTLEENDIAN 1
|
#define LITTLEENDIAN 1
|
||||||
#define INLINE static inline
|
#define INLINE static inline
|
||||||
#define SOFTFLOAT_BUILTIN_CLZ 1
|
#define SOFTFLOAT_BUILTIN_CLZ 1
|
||||||
#define SOFTFLOAT_FAST_INT64
|
#define SOFTFLOAT_FAST_INT64
|
||||||
#include "opts-GCC.h"
|
#include "opts-GCC.h"
|
||||||
|
|
||||||
|
#endif // ARM_SOFT_FLOAT_LIB_H_
|
||||||
|
|
Loading…
Reference in New Issue