< prev index next >

src/java.base/share/native/libjli/wildcard.c

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2005, 2015, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2005, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 98,107 **** --- 98,113 ---- #else /* Unix */ #include <unistd.h> #include <dirent.h> #endif /* Unix */ + #if defined(_AIX) + #define DIR DIR64 + #define opendir opendir64 + #define closedir closedir64 + #endif + static int exists(const char* filename) { #ifdef _WIN32 return _access(filename, 0) == 0;
< prev index next >