mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8207744: Clean up inconsistent use of opendir/closedir versus opendir64/closedir64
Reviewed-by: bsrbnd, mbaesken, bchristi, simonis
This commit is contained in:
parent
091aff1178
commit
67b2c6fc66
7 changed files with 50 additions and 38 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2014, 2018, 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
|
||||
|
@ -58,6 +58,14 @@
|
|||
#include <procfs.h>
|
||||
#endif
|
||||
|
||||
#if defined(_AIX)
|
||||
#define DIR DIR64
|
||||
#define dirent dirent64
|
||||
#define opendir opendir64
|
||||
#define readdir readdir64
|
||||
#define closedir closedir64
|
||||
#endif
|
||||
|
||||
/**
|
||||
* This file contains the implementation of the native ProcessHandleImpl
|
||||
* functions which are common to all Unix variants.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue