1a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot/*
2a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
3a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot *
5a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot * This code is free software; you can redistribute it and/or modify it
6a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot * under the terms of the GNU General Public License version 2 only, as
7a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot * published by the Free Software Foundation.  Oracle designates this
8a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot * particular file as subject to the "Classpath" exception as provided
9a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot * by Oracle in the LICENSE file that accompanied this code.
10a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot *
11a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot * This code is distributed in the hope that it will be useful, but WITHOUT
12a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot * version 2 for more details (a copy is included in the LICENSE file that
15a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot * accompanied this code).
16a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot *
17a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot * You should have received a copy of the GNU General Public License version
18a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot * 2 along with this work; if not, write to the Free Software Foundation,
19a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot *
21a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot * or visit www.oracle.com if you need additional information or have any
23a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot * questions.
24a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot */
25a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot
26a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot#ifndef _JAVASOFT_JNI_MD_H_
27a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot#define _JAVASOFT_JNI_MD_H_
28a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot
29a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot#ifndef __has_attribute
30a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot  #define __has_attribute(x) 0
31a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot#endif
32a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot#if (defined(__GNUC__) && ((__GNUC__ > 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ > 2))) || __has_attribute(visibility)
33a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot  #define JNIEXPORT     __attribute__((visibility("default")))
34a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot  #define JNIIMPORT     __attribute__((visibility("default")))
35a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot#else
36a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot  #define JNIEXPORT
37a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot  #define JNIIMPORT
38a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot#endif
39a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot
40a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot#define JNICALL
41a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot
42a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robottypedef int jint;
43a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot#ifdef _LP64 /* 64-bit Solaris */
44a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robottypedef long jlong;
45a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot#else
46a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robottypedef long long jlong;
47a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot#endif
48a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot
49a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robottypedef signed char jbyte;
50a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot
51a782115c262f0bc08ed2b8ffcd7d85c72c894adandroid-build-team Robot#endif /* !_JAVASOFT_JNI_MD_H_ */
52