about summary refs log tree commit diff
path: root/pm_config.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'pm_config.in.h')
-rw-r--r--pm_config.in.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pm_config.in.h b/pm_config.in.h
index 2cea5a86..684d60a1 100644
--- a/pm_config.in.h
+++ b/pm_config.in.h
@@ -337,3 +337,8 @@ typedef int qsort_comparison_fn(const void *, const void *);
   #define pm_mkdir(dir, perm) mkdir(dir, perm) 
 #endif
 
+#if MSVCRT
+  #define pm_pipe _pipe
+#else
+  #define pm_pipe pipe
+#endif