--- miniupnpc-2.1.20190824/setupmingw32.py.orig	2019-10-29 15:08:59.244963500 +0300
+++ miniupnpc-2.1.20190824/setupmingw32.py	2019-10-29 15:09:12.234981700 +0300
@@ -8,11 +8,6 @@
 #
 import sys
 
-if (sys.version_info.major * 10 +  sys.version_info.minor) >= 35:
-        compat_lib = ["legacy_stdio_definitions"]
-else:
-        compat_lib = []
-
 try:
         from setuptools import setup, Extension
 except ImportError:
@@ -29,7 +24,7 @@
       description='miniUPnP client',
       ext_modules=[
          Extension(name="miniupnpc", sources=["src/miniupnpcmodule.c"],
-                   libraries=["ws2_32", "iphlpapi"] + compat_lib,
-                   include_dirs=['include'], extra_objects=["miniupnpc.lib"])
+                   libraries=["ws2_32", "iphlpapi"],
+                   include_dirs=['include'], extra_objects=["libminiupnpc.a"])
       ])
 
