I think i made error by uppercasing __LINUX__ in my patch..

try this edited version on arm/Debian? just put in thirdparty/src and rebuild...