summaryrefslogtreecommitdiff
path: root/compat/mingw.h
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2012-10-25 06:43:01 -0400
committerLibravatar Jeff King <peff@peff.net>2012-10-25 06:43:01 -0400
commitbbbd0573895f7f79aeb1faa5c0333915947096c0 (patch)
treebc89be8a152a431c639d1bd389e11910464e4208 /compat/mingw.h
parentMerge branch 'da/mergetools-p4' (diff)
parentmaybe_flush_or_die: move a too-loose Windows specific error (diff)
downloadtgif-bbbd0573895f7f79aeb1faa5c0333915947096c0.tar.xz
Merge branch 'js/mingw-fflush-errno'
* js/mingw-fflush-errno: maybe_flush_or_die: move a too-loose Windows specific error
Diffstat (limited to 'compat/mingw.h')
-rw-r--r--compat/mingw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/mingw.h b/compat/mingw.h
index 61a652138a..eeb08d120b 100644
--- a/compat/mingw.h
+++ b/compat/mingw.h
@@ -185,6 +185,9 @@ FILE *mingw_fopen (const char *filename, const char *otype);
FILE *mingw_freopen (const char *filename, const char *otype, FILE *stream);
#define freopen mingw_freopen
+int mingw_fflush(FILE *stream);
+#define fflush mingw_fflush
+
char *mingw_getcwd(char *pointer, int len);
#define getcwd mingw_getcwd