diff --git a/.travis.yml b/.travis.yml index f3d225b..8033a5d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,11 +5,12 @@ language: python python: - 2.7 - - 3.2 - - 3.3 - 3.4 - 3.5 -# - pypy + - 3.6 + - 3.7 + - 3.8 +# - pypy script: - python setup.py install diff --git a/parallel/parallelppdev.py b/parallel/parallelppdev.py index 15721ea..9239ea2 100644 --- a/parallel/parallelppdev.py +++ b/parallel/parallelppdev.py @@ -31,6 +31,7 @@ def _IOR(type, nr, size): def _IOW(type, nr, size): return _IOC(_IOC_WRITE, type, nr, sizeof(size)) + _IOC_SIZEBITS = 14 _IOC_SIZEMASK = (1 << _IOC_SIZEBITS) - 1 _IOC_NRSHIFT = 0 @@ -118,6 +119,7 @@ def _IOC_TYPE(nr): def _IOWR(type, nr, size): return _IOC(_IOC_READ | _IOC_WRITE, type, nr, sizeof(size)) + __ELF__ = 1 __i386 = 1 __i386__ = 1