aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/platform/__init__.py
blob: 1b2cf909a43d00c5fbb961bf595eb6301df117de (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 == "freebsd10":
    from . import osx
    resolver = osx.Resolver
elif sys.platform == "win32":
    from . import windows
    resolver = windows.Resolver