aboutsummaryrefslogtreecommitdiff
path: root/include/platform.h
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2021-06-07 09:03:01 +0100
committerRon Yorston <rmy@pobox.com>2021-06-07 11:30:46 +0100
commit9ba9333e913c617e995b2e1d37dc738b77304158 (patch)
tree8d9dcdeb79060896ca214ed0607992f530a25090 /include/platform.h
parentcdd0e9946a45dd69dc0bc8a8d0bcb734c7234937 (diff)
downloadbusybox-w32-9ba9333e913c617e995b2e1d37dc738b77304158.tar.gz
busybox-w32-9ba9333e913c617e995b2e1d37dc738b77304158.tar.bz2
busybox-w32-9ba9333e913c617e995b2e1d37dc738b77304158.zip
win32: let virtual /dev/fd/<num> files be opened
Add support for virtual /dev/fd files to represent file descriptors.
Diffstat (limited to 'include/platform.h')
-rw-r--r--include/platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h
index b2d918643..37e48dcc5 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -447,6 +447,8 @@ typedef unsigned smalluint;
447#define HAVE_SYS_STATFS_H 1 447#define HAVE_SYS_STATFS_H 1
448#define HAVE_PRINTF_PERCENTM 1 448#define HAVE_PRINTF_PERCENTM 1
449#define HAVE_WAIT3 1 449#define HAVE_WAIT3 1
450#define HAVE_DEV_FD 1
451#define DEV_FD_PREFIX "/dev/fd/"
450 452
451#if defined(__UCLIBC__) 453#if defined(__UCLIBC__)
452# if UCLIBC_VERSION < KERNEL_VERSION(0, 9, 32) 454# if UCLIBC_VERSION < KERNEL_VERSION(0, 9, 32)