summaryrefslogtreecommitdiff
path: root/src/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio')
-rw-r--r--src/stdio/popen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stdio/popen.c b/src/stdio/popen.c
index 56fce132..ab9b1663 100644
--- a/src/stdio/popen.c
+++ b/src/stdio/popen.c
@@ -54,7 +54,10 @@ FILE * popen(const char * command, const char * mode)
return NULL;
}
+ #if defined __STDC_VERSION__
fwide(p, -1);
+ #endif
+
p->pipe_pid = child;
return p;
}