aboutsummaryrefslogtreecommitdiff
path: root/include/compat/stdio.h
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2017-01-16 10:36:05 -0600
committerBrent Cook <busterb@gmail.com>2017-01-16 10:59:24 -0600
commit3b2560feb355e708a59ecfb224932810687a75ad (patch)
tree0854a5907ad6c5a545864ef964e14f53bd5ea5a8 /include/compat/stdio.h
parent4cb675e2d9e17d7727c5268d4f7ccab70bd27aed (diff)
downloadportable-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.h4
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
29void posix_perror(const char *s); 33void posix_perror(const char *s);
30FILE * posix_fopen(const char *path, const char *mode); 34FILE * posix_fopen(const char *path, const char *mode);
31char * posix_fgets(char *s, int size, FILE *stream); 35char * posix_fgets(char *s, int size, FILE *stream);