diff options
author | Mark Nunberg <mnunberg@users.noreply.github.com> | 2019-04-02 01:17:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-02 01:17:11 -0400 |
commit | ca153fa4a8ae84021bdce7ec47e5339eef1d9212 (patch) | |
tree | 3d963d9e7fddb9db41da1469b989471b2c54ac07 /win32.h | |
parent | 1c43a3823f7cd11e8d25d1979ba5eb01720f0b77 (diff) | |
parent | e38cd75562ddb3a20e5dff8969c96568a4fb1ea1 (diff) |
Merge pull request #652 from mbitsnbites/mingw-support
Add MinGW support
Diffstat (limited to 'win32.h')
-rw-r--r-- | win32.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -37,6 +37,10 @@ __inline int c99_snprintf(char* str, size_t size, const char* format, ...) return count; } #endif +#endif /* _MSC_VER */ -#endif -#endif
\ No newline at end of file +#ifdef _WIN32 +#define strerror_r(errno,buf,len) strerror_s(buf,len,errno) +#endif /* _WIN32 */ + +#endif /* _WIN32_HELPER_INCLUDE */ |