[libc-commits] [libc] [libc] Implement posix_close in unistd (PR #240024)

Alexey Samsonov via libc-commits libc-commits at lists.llvm.org
Sun Nov 8 19:23:52 PST 2026


================
@@ -116,4 +116,8 @@
   }))
 #endif // TEMP_FAILURE_RETRY
 
+#ifndef POSIX_CLOSE_RESTART
----------------
vonosmas wrote:

Why are you using `ifndef` here? It's our own macro, I think it should be safe to just define it directly?

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


More information about the libc-commits mailing list