4680N/A/*
4680N/A * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
4680N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4680N/A *
4680N/A * This code is free software; you can redistribute it and/or modify it
4680N/A * under the terms of the GNU General Public License version 2 only, as
4680N/A * published by the Free Software Foundation. Oracle designates this
4680N/A * particular file as subject to the "Classpath" exception as provided
4680N/A * by Oracle in the LICENSE file that accompanied this code.
4680N/A *
4680N/A * This code is distributed in the hope that it will be useful, but WITHOUT
4680N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4680N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4680N/A * version 2 for more details (a copy is included in the LICENSE file that
4680N/A * accompanied this code).
4680N/A *
4680N/A * You should have received a copy of the GNU General Public License version
4680N/A * 2 along with this work; if not, write to the Free Software Foundation,
4680N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4680N/A *
4680N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4680N/A * or visit www.oracle.com if you need additional information or have any
4680N/A * questions.
4680N/A */
4680N/A
4680N/A#ifndef JAVA_MD_MACOSX_H
4680N/A#define JAVA_MD_MACOSX_H
4680N/A
4680N/A/* CounterGet() is implemented in java_md.c */
4680N/Aint64_t CounterGet(void);
4680N/A#define Counter2Micros(counts) (counts)
4680N/A
4680N/A/* pointer to environment */
4680N/A#include <crt_externs.h>
4680N/A#define environ (*_NSGetEnviron())
4680N/A
4680N/A/*
4680N/A * A collection of useful strings. One should think of these as #define
4680N/A * entries, but actual strings can be more efficient (with many compilers).
4680N/A */
4680N/Astatic const char *system_dir = PACKAGE_PATH "/openjdk7";
4680N/Astatic const char *user_dir = "/java";
4680N/A
4680N/A#include <dlfcn.h>
4680N/A#include <pthread.h>
4680N/A
4680N/A#endif /* JAVA_MD_MACOSX_H */