summaryrefslogtreecommitdiffstats
path: root/AppPkg/Applications/Python/PyMod-2.7.2/Modules/zlib/zutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'AppPkg/Applications/Python/PyMod-2.7.2/Modules/zlib/zutil.h')
-rw-r--r--AppPkg/Applications/Python/PyMod-2.7.2/Modules/zlib/zutil.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/AppPkg/Applications/Python/PyMod-2.7.2/Modules/zlib/zutil.h b/AppPkg/Applications/Python/PyMod-2.7.2/Modules/zlib/zutil.h
index a202cdfa90..55b6d1a8f3 100644
--- a/AppPkg/Applications/Python/PyMod-2.7.2/Modules/zlib/zutil.h
+++ b/AppPkg/Applications/Python/PyMod-2.7.2/Modules/zlib/zutil.h
@@ -11,22 +11,20 @@
* Copyright (C) 1995-2005 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
- */
+**/
/* WARNING: this file should *not* be used by applications. It is
part of the implementation of the compression library and is
subject to change. Applications should only use zlib.h.
*/
-/* @(#) $Id$ */
-
#ifndef ZUTIL_H
#define ZUTIL_H
#define ZLIB_INTERNAL
#include "zlib.h"
-#ifdef STDC
+#if defined(UEFI_C_SOURCE) || defined(STDC)
# ifndef _WIN32_WCE
# include <stddef.h>
# endif
@@ -161,7 +159,7 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
# define fdopen(fd,mode) NULL /* No fdopen() */
#endif
-#if (defined(_MSC_VER) && (_MSC_VER > 600)) && !defined(UEFI_C_SOURCE)
+#if !defined(UEFI_C_SOURCE) && (defined(_MSC_VER) && (_MSC_VER > 600))
# if defined(_WIN32_WCE)
# define fdopen(fd,mode) NULL /* No fdopen() */
# ifndef _PTRDIFF_T_DEFINED