Also use fallback implementation on Mac

This commit is contained in:
Sebastian Ramacher 2021-01-23 11:00:22 +01:00
parent 9cf03b08f7
commit 03e36aa55e

View file

@ -12,7 +12,7 @@ def read(name):
extension_sources = ["cwcwidth/_impl.pyx"]
if platform.system() == "Windows":
if platform.system() in ("Windows", "Darwin"):
extension_sources.append("cwcwidth/wcwidth.c")
define_macros = [
("USE_MK_WCWIDTH", None),