aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/platform/__init__.py
blob: e1ff7c47449564181beb7d8e22b133a969a684c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import sys

resolver = None

if sys.platform == "linux2":
    from . import linux
    resolver = linux.Resolver
elif sys.platform == "darwin":
    from . import osx
    resolver = osx.Resolver
elif sys.platform.startswith("freebsd"):
    from . import osx
    resolver = osx.Resolver
elif sys.platform == "win32":
    from . import windows
    resolver = windows.Resolver