Skip to content

Commit 668a4a2

Browse files
authored
[lldb] pipe2(2) is also supported by OpenBSD (#74012)
1 parent add224c commit 668a4a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Host/posix/PipePosix.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ enum PIPES { READ, WRITE }; // Constants 0 and 1 for READ and WRITE
3232
// pipe2 is supported by a limited set of platforms
3333
// TODO: Add more platforms that support pipe2.
3434
#if defined(__linux__) || (defined(__FreeBSD__) && __FreeBSD__ >= 10) || \
35-
defined(__NetBSD__)
35+
defined(__NetBSD__) || defined(__OpenBSD__)
3636
#define PIPE2_SUPPORTED 1
3737
#else
3838
#define PIPE2_SUPPORTED 0

0 commit comments

Comments
 (0)