diff options
Diffstat (limited to 'include/compat/stdio.h')
-rw-r--r-- | include/compat/stdio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/compat/stdio.h b/include/compat/stdio.h index a0dda6f..d5725c9 100644 --- a/include/compat/stdio.h +++ b/include/compat/stdio.h | |||
@@ -26,6 +26,10 @@ int asprintf(char **str, const char *fmt, ...); | |||
26 | 26 | ||
27 | #ifdef _WIN32 | 27 | #ifdef _WIN32 |
28 | 28 | ||
29 | #if defined(_MSC_VER) | ||
30 | #define __func__ __FUNCTION__ | ||
31 | #endif | ||
32 | |||
29 | void posix_perror(const char *s); | 33 | void posix_perror(const char *s); |
30 | FILE * posix_fopen(const char *path, const char *mode); | 34 | FILE * posix_fopen(const char *path, const char *mode); |
31 | char * posix_fgets(char *s, int size, FILE *stream); | 35 | char * posix_fgets(char *s, int size, FILE *stream); |