]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/PyMod-2.7.2/Modules/zlib/zutil.h
StdLib/Include/stdarg.h: Added the __va_copy macro for Python compatibility.
[mirror_edk2.git] / AppPkg / Applications / Python / PyMod-2.7.2 / Modules / zlib / zutil.h
index a202cdfa90f3691cdf052f6aff20109a1b5d12e3..55b6d1a8f38bfbcd00c1b48f7a31914fcf9ab455 100644 (file)
 \r
  * Copyright (C) 1995-2005 Jean-loup Gailly.\r
  * For conditions of distribution and use, see copyright notice in zlib.h\r
- */\r
+**/\r
 \r
 /* WARNING: this file should *not* be used by applications. It is\r
    part of the implementation of the compression library and is\r
    subject to change. Applications should only use zlib.h.\r
  */\r
 \r
-/* @(#) $Id$ */\r
-\r
 #ifndef ZUTIL_H\r
 #define ZUTIL_H\r
 \r
 #define ZLIB_INTERNAL\r
 #include "zlib.h"\r
 \r
-#ifdef STDC\r
+#if defined(UEFI_C_SOURCE) || defined(STDC)\r
 #  ifndef _WIN32_WCE\r
 #    include <stddef.h>\r
 #  endif\r
@@ -161,7 +159,7 @@ 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)) && !defined(UEFI_C_SOURCE)\r
+#if !defined(UEFI_C_SOURCE) && (defined(_MSC_VER) && (_MSC_VER > 600))\r
 #  if defined(_WIN32_WCE)\r
 #    define fdopen(fd,mode) NULL /* No fdopen() */\r
 #    ifndef _PTRDIFF_T_DEFINED\r