replace NO_ERROR that is defined as a macro on windows
Merge pull request #337 from haiwen/fix_mingw_build

replace NO_ERROR that is defined as a macro on windows