[libc-commits] [libc] [libc] Fix macro definition hermeticity (PR #114467)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Thu Oct 31 14:32:33 PDT 2024


================
@@ -88,6 +88,9 @@
 // Close on succesful
 #define F_CLOEXEC 1
 
+// Close on execute for fcntl.
+#define FD_CLOEXEC 1
----------------
nickdesaulniers wrote:

I don't know that we should be providing this definition though. The linux kernel headers should be providing this value.

https://github.com/llvm/llvm-project/pull/114467


More information about the libc-commits mailing list