MSVSC fixes

This commit is contained in:
Brent Cook
2017-01-16 10:36:05 -06:00
parent 4cb675e2d9
commit 3b2560feb3
4 changed files with 9 additions and 7 deletions

View File

@@ -26,6 +26,10 @@ int asprintf(char **str, const char *fmt, ...);
#ifdef _WIN32
#if defined(_MSC_VER)
#define __func__ __FUNCTION__
#endif
void posix_perror(const char *s);
FILE * posix_fopen(const char *path, const char *mode);
char * posix_fgets(char *s, int size, FILE *stream);