jni_x86.h revision 0:a61af66fc99e
12470Scsgr/* 22470Scsgr * Copyright 1997-2004 Sun Microsystems, Inc. All Rights Reserved. 32470Scsgr * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 42470Scsgr * 52470Scsgr * This code is free software; you can redistribute it and/or modify it 62470Scsgr * under the terms of the GNU General Public License version 2 only, as 72470Scsgr * published by the Free Software Foundation. Sun designates this 82470Scsgr * particular file as subject to the "Classpath" exception as provided 92470Scsgr * by Sun in the LICENSE file that accompanied this code. 102470Scsgr * 112470Scsgr * This code is distributed in the hope that it will be useful, but WITHOUT 122470Scsgr * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 132470Scsgr * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 142470Scsgr * version 2 for more details (a copy is included in the LICENSE file that 152470Scsgr * accompanied this code). 162470Scsgr * 1797748Sschweikh * You should have received a copy of the GNU General Public License version 182470Scsgr * 2 along with this work; if not, write to the Free Software Foundation, 192470Scsgr * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 202470Scsgr * 212470Scsgr * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 222470Scsgr * CA 95054 USA or visit www.sun.com if you need additional information or 232470Scsgr * have any questions. 242470Scsgr */ 252470Scsgr 262470Scsgr#ifndef _JAVASOFT_JNI_MD_H_ 272470Scsgr#define _JAVASOFT_JNI_MD_H_ 282470Scsgr 292470Scsgr#if defined(SOLARIS) || defined(LINUX) 302470Scsgr #define JNIEXPORT 31114601Sobrien #define JNIIMPORT 32114601Sobrien #define JNICALL 3329846Scharnier 34136037Sschweikh typedef int jint; 35136037Sschweikh typedef long long jlong; 3629846Scharnier#else 37136037Sschweikh #define JNIEXPORT __declspec(dllexport) 38136037Sschweikh #define JNIIMPORT __declspec(dllimport) 39136037Sschweikh #define JNICALL __stdcall 402484Scsgr 412470Scsgr typedef int jint; 422484Scsgr typedef __int64 jlong; 43136037Sschweikh#endif 44136037Sschweikh 452470Scsgrtypedef signed char jbyte; 462470Scsgr 4742475Snsouch#endif /* !_JAVASOFT_JNI_MD_H_ */ 4842475Snsouch