diff options
author | Brent Cook <busterb@gmail.com> | 2017-01-16 10:36:05 -0600 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2017-01-16 10:59:24 -0600 |
commit | 3b2560feb355e708a59ecfb224932810687a75ad (patch) | |
tree | 0854a5907ad6c5a545864ef964e14f53bd5ea5a8 /include/compat/stdio.h | |
parent | 4cb675e2d9e17d7727c5268d4f7ccab70bd27aed (diff) | |
download | portable-3b2560feb355e708a59ecfb224932810687a75ad.tar.gz portable-3b2560feb355e708a59ecfb224932810687a75ad.tar.bz2 portable-3b2560feb355e708a59ecfb224932810687a75ad.zip |
MSVSC fixes
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); |