[xort] continue porting to Mac OS
Authored by: blackice7777@gmail.com 2014-07-30
Parent: [r220]
Child: [r222]