< prev index next >
src/java.base/share/classes/sun/nio/ch/SocketOptionRegistry.java.template
Print this page
rev 59105 : imported patch corelibs
*** 41,63 ****
#if !defined(SO_REUSEPORT)
#ifdef _WIN32
#define SO_REUSEPORT 0
#elif defined(__linux__)
#define SO_REUSEPORT 15
- #elif defined(__solaris__)
- #define SO_REUSEPORT 0x100e
#elif defined(AIX) || defined(MACOSX)
#define SO_REUSEPORT 0x0200
#else
#define SO_REUSEPORT 0
#endif
#endif
- /* On Solaris, "sun" is defined as a macro. Undefine to make package
- declaration valid */
- #undef sun
-
/* To be able to name the Java constants the same as the C constants without
having the preprocessor rewrite those identifiers, add PREFIX_ to all
identifiers matching a C constant. The PREFIX_ is filtered out in the
makefile. */
--- 41,57 ----
< prev index next >