mirror of
https://github.com/xerial/snappy-java.git
synced 2025-07-22 13:34:27 +02:00
Add lib/inc_ibm and remove libsnappyjava.so
This commit is contained in:
parent
d61b43593f
commit
e487f823e5
53
lib/inc_ibm/jni_md.h
Normal file
53
lib/inc_ibm/jni_md.h
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
/*===========================================================================
|
||||||
|
* Licensed Materials - Property of IBM
|
||||||
|
* "Restricted Materials of IBM"
|
||||||
|
*
|
||||||
|
* IBM SDK, Java(tm) Technology Edition, v7
|
||||||
|
* (C) Copyright IBM Corp. 2014, 2014. All Rights Reserved
|
||||||
|
*
|
||||||
|
* US Government Users Restricted Rights - Use, duplication or disclosure
|
||||||
|
* restricted by GSA ADP Schedule Contract with IBM Corp.
|
||||||
|
*===========================================================================
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
* Copyright (c) 1996, 2000, Oracle and/or its affiliates. All rights reserved.
|
||||||
|
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _JAVASOFT_JNI_MD_H_
|
||||||
|
#define _JAVASOFT_JNI_MD_H_
|
||||||
|
|
||||||
|
#define JNIEXPORT __attribute__((__visibility__("default")))
|
||||||
|
#define JNIIMPORT
|
||||||
|
#define JNICALL
|
||||||
|
|
||||||
|
typedef int jint;
|
||||||
|
#ifdef _LP64 /* 64-bit Solaris */
|
||||||
|
typedef long jlong;
|
||||||
|
#else
|
||||||
|
/*typedef long long jlong;*/
|
||||||
|
#endif
|
||||||
|
|
||||||
|
typedef signed char jbyte;
|
||||||
|
|
||||||
|
#endif /* !_JAVASOFT_JNI_MD_H_ */
|
56
lib/inc_ibm/jniport.h
Normal file
56
lib/inc_ibm/jniport.h
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
/*******************************************************************************
|
||||||
|
* Licensed Materials - Property of IBM
|
||||||
|
* "Restricted Materials of IBM"
|
||||||
|
*
|
||||||
|
* (c) Copyright IBM Corp. 1991, 2014 All Rights Reserved
|
||||||
|
*
|
||||||
|
* US Government Users Restricted Rights - Use, duplication or disclosure
|
||||||
|
* restricted by GSA ADP Schedule Contract with IBM Corp.
|
||||||
|
*******************************************************************************/
|
||||||
|
|
||||||
|
#ifndef jniport_h
|
||||||
|
#define jniport_h
|
||||||
|
|
||||||
|
#if defined(WIN32) || defined(_WIN32) || defined(RIM386) || (defined(BREW) && defined(AEE_SIMULATOR))
|
||||||
|
|
||||||
|
#define JNIEXPORT __declspec(dllexport)
|
||||||
|
#define JNICALL __stdcall
|
||||||
|
typedef signed char jbyte;
|
||||||
|
typedef int jint;
|
||||||
|
typedef __int64 jlong;
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
#define JNIEXPORT __attribute__((__visibility__("default")))
|
||||||
|
|
||||||
|
typedef signed char jbyte;
|
||||||
|
/*typedef long long jlong;*/
|
||||||
|
|
||||||
|
#ifdef BREW
|
||||||
|
#include "AEEFile.h"
|
||||||
|
#define FILE IFile
|
||||||
|
#endif
|
||||||
|
|
||||||
|
typedef int jint;
|
||||||
|
|
||||||
|
#endif /* WIN32 */
|
||||||
|
|
||||||
|
#ifndef JNICALL
|
||||||
|
#define JNICALL
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef JNIEXPORT
|
||||||
|
#define JNIEXPORT __attribute__((__visibility__("default")))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef JNIIMPORT
|
||||||
|
#define JNIIMPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef _JNI_IMPLEMENTATION_
|
||||||
|
#define _JNI_IMPORT_OR_EXPORT_ JNIEXPORT
|
||||||
|
#else
|
||||||
|
#define _JNI_IMPORT_OR_EXPORT_ JNIIMPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* jniport_h */
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user