Skip to content

Conversation

barracuda156
Copy link
Contributor

F_DUPFD_CLOEXEC is not guaranteed to be available.


#include <fcntl.h>

#ifndef F_DUPFD_CLOEXEC
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should define this at a library level. This should be only for .cpp files, we don't want to propagate this to users

@barracuda156 barracuda156 marked this pull request as draft March 31, 2025 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants