Revert "windows compatibility, ref #2"

This reverts commit d54871854e292c88485b3d0d0ac04b999fcd2dba.
remove inline, ref #2