]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/PyMod-2.7.2/Modules/zlib/zutil.h
AppPkg/Applications/Python: Get Python startup process fully working for EDK II.
[mirror_edk2.git] / AppPkg / Applications / Python / PyMod-2.7.2 / Modules / zlib / zutil.h
index 46f89878d6f15c6cf1482090e28f05483d533da9..9f4d1a6f9e35a93555056aa648f5ce2a57369f66 100644 (file)
@@ -161,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_ENV)\r
+#  if defined(_WIN32_WCE)\r
 #    define fdopen(fd,mode) NULL /* No fdopen() */\r
 #    ifndef _PTRDIFF_T_DEFINED\r
        typedef int ptrdiff_t;\r