src/java.base/share/native/launcher/main.c
changeset 49534 210cf224b690
parent 47216 71c04702a3d5
child 49843 e0af66d6e968
equal deleted inserted replaced
49533:0eaddc72d8f4 49534:210cf224b690
     1 /*
     1 /*
     2  * Copyright (c) 1995, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1995, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    30  * tools. The rest of the files will be linked in.
    30  * tools. The rest of the files will be linked in.
    31  */
    31  */
    32 
    32 
    33 #include "defines.h"
    33 #include "defines.h"
    34 #include "jli_util.h"
    34 #include "jli_util.h"
       
    35 #include "jni.h"
    35 
    36 
    36 #ifdef _MSC_VER
    37 #ifdef _MSC_VER
    37 #if _MSC_VER > 1400 && _MSC_VER < 1600
    38 #if _MSC_VER > 1400 && _MSC_VER < 1600
    38 
    39 
    39 /*
    40 /*
    90     const jboolean const_javaw = JNI_TRUE;
    91     const jboolean const_javaw = JNI_TRUE;
    91 
    92 
    92     __initenv = _environ;
    93     __initenv = _environ;
    93 
    94 
    94 #else /* JAVAW */
    95 #else /* JAVAW */
    95 int
    96 JNIEXPORT int JNICALL
    96 main(int argc, char **argv)
    97 main(int argc, char **argv)
    97 {
    98 {
    98     int margc;
    99     int margc;
    99     char** margv;
   100     char** margv;
   100     int jargc;
   101     int jargc;