diff --git a/setup.py b/setup.py index 93a23a1..556246a 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,4 @@ +from os import environ from os.path import isdir, join from platform import system @@ -41,7 +42,7 @@ def get_tag(self): extra_compile_args=[ "-std=c11", "-fvisibility=hidden", - ] if system() != "Windows" else [ + ] if system() != "Windows" or "MSYSTEM" in environ else [ "/std:c11", "/utf-8", ],