summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/StackCheckLibNull/StackCheckLibHostApplicationMsvc.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/StackCheckLibNull/StackCheckLibHostApplicationMsvc.c')
-rw-r--r--MdePkg/Library/StackCheckLibNull/StackCheckLibHostApplicationMsvc.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/MdePkg/Library/StackCheckLibNull/StackCheckLibHostApplicationMsvc.c b/MdePkg/Library/StackCheckLibNull/StackCheckLibHostApplicationMsvc.c
new file mode 100644
index 0000000000..6af9891c39
--- /dev/null
+++ b/MdePkg/Library/StackCheckLibNull/StackCheckLibHostApplicationMsvc.c
@@ -0,0 +1,13 @@
+/** @file
+ This file is empty to allow host applications
+ to use the MSVC C runtime lib that provides
+ stack cookie definitions without breaking the
+ build.
+
+ Copyright (c) Microsoft Corporation.
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+**/
+
+#include <Uefi.h>
+
+extern VOID *__security_cookie;