8211360: Change #if DEF to #if defined(DEF)

Reviewed-by: bpb, vtewari
This commit is contained in:
Ivan Gerasimov 2019-08-21 13:49:16 -07:00
parent 5c3896ce21
commit 5c25e2a6fb
6 changed files with 15 additions and 15 deletions

View file

@ -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