Merge pull request #12 from MagicGroup/master

拉回来
修复编译错误

These changes fixes bug #1769 for SDL 1.2
(http://bugzilla.libsdl.org/show_bug.cgi?id=1769).
修复编译错误
Merge pull request #46 from jiangtao9999/master

修复编译错误