]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/PyMod-2.7.2/Modules/zlib/zutil.h
EADK (StdLib, AppPkg, StdLibPrivateInternalFiles): Python Beta Release.
[mirror_edk2.git] / AppPkg / Applications / Python / PyMod-2.7.2 / Modules / zlib / zutil.h
index 4cee6218b8fde86b6917d2c38a622e5aef15080b..a202cdfa90f3691cdf052f6aff20109a1b5d12e3 100644 (file)
@@ -1,4 +1,14 @@
 /* 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
@@ -151,8 +161,8 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
 #  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