src/os/posix/launcher/java_md.h

changeset 5109
aabf54ccedb1
parent 5108
f0bc60565ba8
child 5110
6f3fd5150b67
     1.1 --- a/src/os/posix/launcher/java_md.h	Mon May 06 13:53:13 2013 -0700
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,82 +0,0 @@
     1.4 -/*
     1.5 - * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
     1.6 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.7 - *
     1.8 - * This code is free software; you can redistribute it and/or modify it
     1.9 - * under the terms of the GNU General Public License version 2 only, as
    1.10 - * published by the Free Software Foundation.
    1.11 - *
    1.12 - * This code is distributed in the hope that it will be useful, but WITHOUT
    1.13 - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    1.14 - * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    1.15 - * version 2 for more details (a copy is included in the LICENSE file that
    1.16 - * accompanied this code).
    1.17 - *
    1.18 - * You should have received a copy of the GNU General Public License version
    1.19 - * 2 along with this work; if not, write to the Free Software Foundation,
    1.20 - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    1.21 - *
    1.22 - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    1.23 - * or visit www.oracle.com if you need additional information or have any
    1.24 - * questions.
    1.25 - *
    1.26 - */
    1.27 -
    1.28 -#ifndef JAVA_MD_H
    1.29 -#define JAVA_MD_H
    1.30 -
    1.31 -#include <limits.h>
    1.32 -#include <unistd.h>
    1.33 -#include <sys/param.h>
    1.34 -#ifndef GAMMA
    1.35 -#include "manifest_info.h"
    1.36 -#endif
    1.37 -#include "jli_util.h"
    1.38 -
    1.39 -#define PATH_SEPARATOR          ':'
    1.40 -#define FILESEP                 "/"
    1.41 -#define FILE_SEPARATOR          '/'
    1.42 -#define IS_FILE_SEPARATOR(c) ((c) == '/')
    1.43 -#ifndef MAXNAMELEN
    1.44 -#define MAXNAMELEN              PATH_MAX
    1.45 -#endif
    1.46 -
    1.47 -#ifdef JAVA_ARGS
    1.48 -/*
    1.49 - * ApplicationHome is prepended to each of these entries; the resulting
    1.50 - * strings are concatenated (separated by PATH_SEPARATOR) and used as the
    1.51 - * value of -cp option to the launcher.
    1.52 - */
    1.53 -#ifndef APP_CLASSPATH
    1.54 -#define APP_CLASSPATH        { "/lib/tools.jar", "/classes" }
    1.55 -#endif
    1.56 -#endif
    1.57 -
    1.58 -#ifdef HAVE_GETHRTIME
    1.59 -/*
    1.60 - * Support for doing cheap, accurate interval timing.
    1.61 - */
    1.62 -#include <sys/time.h>
    1.63 -#define CounterGet()              (gethrtime()/1000)
    1.64 -#define Counter2Micros(counts)    (counts)
    1.65 -#else
    1.66 -#define CounterGet()              (0)
    1.67 -#define Counter2Micros(counts)    (1)
    1.68 -#endif /* HAVE_GETHRTIME */
    1.69 -
    1.70 -#ifdef _LP64
    1.71 -#define JLONG_FORMAT "%ld"
    1.72 -#else
    1.73 -#define JLONG_FORMAT "%lld"
    1.74 -#endif
    1.75 -
    1.76 -/*
    1.77 - * Function prototypes.
    1.78 - */
    1.79 -#ifndef GAMMA
    1.80 -char *LocateJRE(manifest_info *info);
    1.81 -void ExecJRE(char *jre, char **argv);
    1.82 -#endif
    1.83 -int UnsetEnv(char *name);
    1.84 -
    1.85 -#endif

mercurial