avoid declaration error on VC++
Merge pull request #3 from h2so5/patch-1

avoid declaration error on VC++