mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8312013: avoid UnixConstants.java.template warning: '__linux__' is not defined on AIX
Reviewed-by: alanb, vtewari
This commit is contained in:
parent
135f64e603
commit
b587fc51a8
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2008, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2008, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -124,7 +124,7 @@ class UnixConstants {
|
|||
// fgetxattr error codes for absent attributes depend on the OS:
|
||||
#ifdef _ALLBSD_SOURCE
|
||||
static final int PREFIX_XATTR_NOT_FOUND = ENOATTR;
|
||||
#elif __linux__
|
||||
#elif defined(__linux__)
|
||||
static final int PREFIX_XATTR_NOT_FOUND = ENODATA;
|
||||
#else
|
||||
// not supported (dummy values will not be used at runtime).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue