Bug fixes

This commit is contained in:
gabi
2014-10-26 01:52:37 +02:00
parent b94ca27ce4
commit e5f4790407
4 changed files with 8 additions and 11 deletions

View File

@@ -93,7 +93,7 @@ constexpr inline unsigned short eol_size()
#endif
//fopen_s on non windows for writing
inline bool fopen_s(FILE** fp, const std::string& filename, const char* mode)
inline int fopen_s(FILE** fp, const std::string& filename, const char* mode)
{
#ifdef _WIN32
return ::fopen_s(fp, filename.c_str(), mode);