[libc-commits] [libc] [libc] Add remaining SO_ constants (PR #202278)
Jeff Bailey via libc-commits
libc-commits at lists.llvm.org
Mon Jun 8 05:32:14 PDT 2026
================
@@ -30,6 +30,12 @@
#define SOL_SOCKET 1
+// The values of the following constants differ on some architectures
+#if defined(__parisc__) || defined(__alpha__) || defined(__sparc__) || \
----------------
kaladron wrote:
I mean.. I've personally owned one of each of these in the last 2 decades...
I guess I'm more worried that this is a list of the ones we consider odd, which wont' be exhaustive and I worry about the pattern here if someone discovers that say, m68k (still in production!) also is odd.
I'm not that fussy in the end. And none of this blocks the PR from being submitted.
https://github.com/llvm/llvm-project/pull/202278
More information about the libc-commits
mailing list