summaryrefslogtreecommitdiff
path: root/win32/win32io.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32io.c')
-rw-r--r--win32/win32io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/win32io.c b/win32/win32io.c
index 12bc645d2d..eeb684620b 100644
--- a/win32/win32io.c
+++ b/win32/win32io.c
@@ -238,6 +238,7 @@ my_flock(int fd, int oper)
#undef LK_ERR
#undef LK_LEN
+EXT int my_fclose(FILE *pf);
#ifdef PERLDLL
__declspec(dllexport)
@@ -259,7 +260,7 @@ WIN32_IOSUBSYSTEM win32stdio = {
fopen, /* (*pfunc_fopen)(const char *path, const char *mode); */
fdopen, /* (*pfunc_fdopen)(int fh, const char *mode); */
freopen, /* (*pfunc_freopen)(const char *path, const char *mode, FILE *pf); */
- fclose, /* (*pfunc_fclose)(FILE *pf); */
+ my_fclose, /* (*pfunc_fclose)(FILE *pf); */
fputs, /* (*pfunc_fputs)(const char *s,FILE *pf); */
fputc, /* (*pfunc_fputc)(int c,FILE *pf); */
ungetc, /* (*pfunc_ungetc)(int c,FILE *pf); */