/* zutil.h -- internal interface and configuration of the compression library\r
+\r
+ Copyright (c) 2011 - 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
+ http://opensource.org/licenses/bsd-license.\r
+\r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
* Copyright (C) 1995-2005 Jean-loup Gailly.\r
* For conditions of distribution and use, see copyright notice in zlib.h\r
*/\r
# define fdopen(fd,mode) NULL /* No fdopen() */\r
#endif\r
\r
-#if (defined(_MSC_VER) && (_MSC_VER > 600))\r
-# if defined(_WIN32_WCE) || defined(_EFI_STDLIB)\r
+#if (defined(_MSC_VER) && (_MSC_VER > 600)) && !defined(UEFI_C_SOURCE)\r
+# if defined(_WIN32_WCE)\r
# define fdopen(fd,mode) NULL /* No fdopen() */\r
# ifndef _PTRDIFF_T_DEFINED\r
typedef int ptrdiff_t;\r