[libc-commits] [libc] [libc] Add remaining SO_ constants (PR #202278)

Pavel Labath via libc-commits libc-commits at lists.llvm.org
Mon Jun 8 05:03:45 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__) ||         \
----------------
labath wrote:

Strictly speaking, these are arch-specific, but only... shall we say.. exotic.. architectures (the ones listed here) are using values other than the default. I don't think we're likely to start supporting these architectures soon.

With that in mind, do you still think it's useful to file a bug about this?

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


More information about the libc-commits mailing list