Changed inline to __inline on msvc
Merge pull request #3195 from mdmueller/change-inline-msvc

Changed inline to __inline when building with MSVC