summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Base.h
diff options
context:
space:
mode:
authorSong, BinX <binx.song@intel.com>2016-11-03 10:33:20 +0800
committerLiming Gao <liming.gao@intel.com>2016-11-04 10:26:48 +0800
commit0c45a5b288437f62b93c046b4cc8827919a79fd1 (patch)
treeab673ade377a92d6c2cb00ac6d4ef9f2c2e9b5a3 /MdePkg/Include/Base.h
parente135e4a79efdcc1de76a5a38bb17d9f925e6f5a1 (diff)
downloadedk2-0c45a5b288437f62b93c046b4cc8827919a79fd1.tar.gz
edk2-0c45a5b288437f62b93c046b4cc8827919a79fd1.tar.bz2
edk2-0c45a5b288437f62b93c046b4cc8827919a79fd1.zip
MdePkg/BaseLib: Move CHAR_NULL definition to Base.h in BaseLib
- Required unicode control chars -> Null character - Remove CHAR_NULL definition in SimpleTextIn.h - https://bugzilla.tianocore.org/show_bug.cgi?id=172 Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Bell Song <binx.song@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdePkg/Include/Base.h')
-rw-r--r--MdePkg/Include/Base.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h
index 22170581a0..5e24b5d487 100644
--- a/MdePkg/Include/Base.h
+++ b/MdePkg/Include/Base.h
@@ -338,6 +338,11 @@ struct _LIST_ENTRY {
///
#define NULL ((VOID *) 0)
+//
+// Null character
+//
+#define CHAR_NULL 0x0000
+
///
/// Maximum values for common UEFI Data Types
///