src/os/windows/launcher/java_md.h

changeset 5115
e484fe2abebd
parent 5104
513a5298c1dd
parent 5114
cd6f6fccd287
child 5126
2f9ac66165e6
     1.1 --- a/src/os/windows/launcher/java_md.h	Tue May 14 17:33:07 2013 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,83 +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 <jni.h>
    1.32 -#include <windows.h>
    1.33 -#include <io.h>
    1.34 -#ifndef GAMMA
    1.35 -#include "manifest_info.h"
    1.36 -#endif
    1.37 -#include "jli_util.h"
    1.38 -
    1.39 -#ifdef GAMMA
    1.40 -#define stricmp _stricmp
    1.41 -#define strnicmp _strnicmp
    1.42 -#define snprintf _snprintf
    1.43 -#define strdup _strdup
    1.44 -#endif
    1.45 -
    1.46 -#define PATH_SEPARATOR  ';'
    1.47 -#define FILESEP         "\\"
    1.48 -#define FILE_SEPARATOR  '\\'
    1.49 -#define IS_FILE_SEPARATOR(c) ((c) == '\\' || (c) == '/')
    1.50 -#define MAXPATHLEN      MAX_PATH
    1.51 -#define MAXNAMELEN      MAX_PATH
    1.52 -
    1.53 -#ifdef JAVA_ARGS
    1.54 -/*
    1.55 - * ApplicationHome is prepended to each of these entries; the resulting
    1.56 - * strings are concatenated (separated by PATH_SEPARATOR) and used as the
    1.57 - * value of -cp option to the launcher.
    1.58 - */
    1.59 -#ifndef APP_CLASSPATH
    1.60 -#define APP_CLASSPATH        { "\\lib\\tools.jar", "\\classes" }
    1.61 -#endif
    1.62 -#endif
    1.63 -
    1.64 -/*
    1.65 - * Support for doing cheap, accurate interval timing.
    1.66 - */
    1.67 -extern jlong CounterGet(void);
    1.68 -extern jlong Counter2Micros(jlong counts);
    1.69 -
    1.70 -#ifdef JAVAW
    1.71 -#define main _main
    1.72 -extern int _main(int argc, char **argv);
    1.73 -#endif
    1.74 -
    1.75 -#define JLONG_FORMAT "%I64d"
    1.76 -
    1.77 -/*
    1.78 - * Function prototypes.
    1.79 - */
    1.80 -#ifndef GAMMA
    1.81 -char *LocateJRE(manifest_info *info);
    1.82 -void ExecJRE(char *jre, char **argv);
    1.83 -#endif
    1.84 -int UnsetEnv(char *name);
    1.85 -
    1.86 -#endif

mercurial