/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#ifndef OS_BSD_VM_JVM_BSD_H
#define OS_BSD_VM_JVM_BSD_H
/*
// HotSpot integration note:
//
// This is derived from the JDK classic file:
// All local includes have been commented out.
*/
#ifndef JVM_MD_H
#define JVM_MD_H
/*
* This file is currently collecting system-specific dregs for the
* JNI conversion, which should be sorted out later.
*/
#ifdef __NetBSD__
/*
* Since we are compiling with c++, we need the following to make c macros
* visible.
*/
# if !defined(__STDC_LIMIT_MACROS)
# endif
# if !defined(__STDC_CONSTANT_MACROS)
# endif
# if !defined(__STDC_FORMAT_MACROS)
# endif
#endif
#include <dirent.h> /* For DIR */
#include <unistd.h> /* For F_OK, R_OK, W_OK */
#ifdef __APPLE__
#else
#endif
// Hack: MAXPATHLEN is 4095 on some Bsd and 4096 on others. This may
// cause problems if JVM and the rest of JDK are built on different
// Bsd releases. Here we define JVM_MAXPATHLEN to be MAXPATHLEN + 1,
// so buffers declared in VM are always >= 4096.
/*
* File I/O
*/
#include <fcntl.h>
#include <errno.h>
/* O Flags */
/* Signal definitions */
#ifndef SIGRTMIN
#ifdef __OpenBSD__
#else
#endif
#endif
#ifndef SIGRTMAX
#ifdef __OpenBSD__
#else
#endif
#endif
#endif /* JVM_MD_H */
#endif // OS_BSD_VM_JVM_BSD_H