This file and its contents are inspired by the <sys/cdefs.h> files in Berkeley\r
Unix. They have been re-implemented to be specific to the EFI environment.\r
\r
- Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials are licensed and made available under\r
the terms and conditions of the BSD License that accompanies this distribution.\r
The full text of the license may be found at\r
#error You must specify /Zc:wchar_t- to the compiler to turn off intrinsic wchar_t.\r
#endif\r
\r
+ /* Get rid of pre-defined macros that are misleading in this environment. */\r
+ #undef _WIN32\r
+ #undef _WIN64\r
+\r
// Keep compiler quiet about casting from smaller to larger types\r
#pragma warning ( disable : 4306 )\r
#endif /* defined(_MSC_VER) */\r
typedef INT64 LONG64;\r
typedef UINT64 ULONG64;\r
\r
-typedef INT32 EFI_LONG_T;\r
-typedef UINT32 EFI_ULONG_T;\r
+typedef INTN EFI_LONG_T;\r
+typedef UINTN EFI_ULONG_T;\r
\r
/* These types reflect the compiler's size for long */\r
#if defined(__GNUC__)\r