A bit of macOS porting

Author Anne Jan Brouwer <brouwer@annejan.com>
Author date 2018-06-14 12:01:48
Author local date 2018-06-14 14:01:48 +0200
Committer Anne Jan Brouwer <brouwer@annejan.com>
Committer date 2018-06-14 12:01:48
Committer local date 2018-06-14 14:01:48 +0200
Commit c2bfdee8d3210498531de39e2b389447869f64ce
Tree 1dce6561db99d89eb3137eac0cd251cd3a9fe20d
Parent b2179d0b231e54a59073791e6c2eb0dd67262e7f
A bit of macOS porting