mirror of https://github.com/acidanthera/audk.git
Add ABS() macro (Absolute Value) to Base.h in MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11819 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
8b157410c1
commit
e118a40b9d
|
@ -15,8 +15,6 @@
|
||||||
#ifndef _SHELL_BASE_
|
#ifndef _SHELL_BASE_
|
||||||
#define _SHELL_BASE_
|
#define _SHELL_BASE_
|
||||||
|
|
||||||
#define ABS(a) ((a<0)?(-(a)):(a))
|
|
||||||
|
|
||||||
typedef VOID *SHELL_FILE_HANDLE;
|
typedef VOID *SHELL_FILE_HANDLE;
|
||||||
|
|
||||||
#define SHELL_FREE_NON_NULL(Pointer) \
|
#define SHELL_FREE_NON_NULL(Pointer) \
|
||||||
|
|
Loading…
Reference in New Issue