remove use of 'inline' b/c MSVC is not a very good C compiler