environment. There are a set of base libraries in the Mde Package that can\r
be used to implement base modules.\r
\r
-Copyright (c) 2006 - 2008, Intel Corporation<BR>\r
-Portions copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>
+Copyright (c) 2006 - 2009, Intel Corporation<BR>\r
+Portions copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
// if the /OPT:REF linker option is used. We defined a macro as this is a \r
// a non standard extension\r
//\r
-#if defined(_MSC_EXTENSIONS)\r
+#if defined(_MSC_EXTENSIONS) && !defined (MDE_CPU_EBC)\r
///\r
/// Remove global variable from the linked image if there are no references to \r
/// it after all compiler and linker optimizations have been performed.\r
//\r
// Status codes common to all execution phases\r
//\r
-typedef INTN RETURN_STATUS;\r
+typedef UINTN RETURN_STATUS;\r
\r
/**\r
Produces a RETURN_STATUS code with the highest bit set. \r
@retval FALSE The high bit of StatusCode is clear.\r
\r
**/\r
-#define RETURN_ERROR(StatusCode) (((RETURN_STATUS)(StatusCode)) < 0)\r
+#define RETURN_ERROR(StatusCode) (((INTN)(RETURN_STATUS)(StatusCode)) < 0)\r
\r
///\r
/// The operation completed successfully.\r
\r
\r
///\r
-/// The Unicode string contained one or more characters that\r
+/// The string contained one or more characters that\r
/// the device could not render and were skipped.\r
///\r
#define RETURN_WARN_UNKNOWN_GLYPH ENCODE_WARNING (1)\r