mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8211360: Change #if DEF to #if defined(DEF)
Reviewed-by: bpb, vtewari
This commit is contained in:
parent
5c3896ce21
commit
5c25e2a6fb
6 changed files with 15 additions and 15 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2008, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
*
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
|
@ -41,9 +41,9 @@
|
|||
#if !defined(SO_REUSEPORT)
|
||||
#ifdef _WIN32
|
||||
#define SO_REUSEPORT 0
|
||||
#elif __linux__
|
||||
#elif defined(__linux__)
|
||||
#define SO_REUSEPORT 15
|
||||
#elif __solaris__
|
||||
#elif defined(__solaris__)
|
||||
#define SO_REUSEPORT 0x100e
|
||||
#elif defined(AIX) || defined(MACOSX)
|
||||
#define SO_REUSEPORT 0x0200
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue