Skip to content

Commit e487f82

Browse files
author
Iheanyi Ekechukwu
committed
Add lib/inc_ibm and remove libsnappyjava.so
1 parent d61b435 commit e487f82

File tree

3 files changed

+109
-0
lines changed

3 files changed

+109
-0
lines changed

lib/inc_ibm/jni_md.h

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
/*===========================================================================
2+
* Licensed Materials - Property of IBM
3+
* "Restricted Materials of IBM"
4+
*
5+
* IBM SDK, Java(tm) Technology Edition, v7
6+
* (C) Copyright IBM Corp. 2014, 2014. All Rights Reserved
7+
*
8+
* US Government Users Restricted Rights - Use, duplication or disclosure
9+
* restricted by GSA ADP Schedule Contract with IBM Corp.
10+
*===========================================================================
11+
*/
12+
/*
13+
* Copyright (c) 1996, 2000, Oracle and/or its affiliates. All rights reserved.
14+
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
15+
*
16+
*
17+
*
18+
*
19+
*
20+
*
21+
*
22+
*
23+
*
24+
*
25+
*
26+
*
27+
*
28+
*
29+
*
30+
*
31+
*
32+
*
33+
*
34+
*
35+
*/
36+
37+
#ifndef _JAVASOFT_JNI_MD_H_
38+
#define _JAVASOFT_JNI_MD_H_
39+
40+
#define JNIEXPORT __attribute__((__visibility__("default")))
41+
#define JNIIMPORT
42+
#define JNICALL
43+
44+
typedef int jint;
45+
#ifdef _LP64 /* 64-bit Solaris */
46+
typedef long jlong;
47+
#else
48+
/*typedef long long jlong;*/
49+
#endif
50+
51+
typedef signed char jbyte;
52+
53+
#endif /* !_JAVASOFT_JNI_MD_H_ */

lib/inc_ibm/jniport.h

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
/*******************************************************************************
2+
* Licensed Materials - Property of IBM
3+
* "Restricted Materials of IBM"
4+
*
5+
* (c) Copyright IBM Corp. 1991, 2014 All Rights Reserved
6+
*
7+
* US Government Users Restricted Rights - Use, duplication or disclosure
8+
* restricted by GSA ADP Schedule Contract with IBM Corp.
9+
*******************************************************************************/
10+
11+
#ifndef jniport_h
12+
#define jniport_h
13+
14+
#if defined(WIN32) || defined(_WIN32) || defined(RIM386) || (defined(BREW) && defined(AEE_SIMULATOR))
15+
16+
#define JNIEXPORT __declspec(dllexport)
17+
#define JNICALL __stdcall
18+
typedef signed char jbyte;
19+
typedef int jint;
20+
typedef __int64 jlong;
21+
22+
#else
23+
24+
#define JNIEXPORT __attribute__((__visibility__("default")))
25+
26+
typedef signed char jbyte;
27+
/*typedef long long jlong;*/
28+
29+
#ifdef BREW
30+
#include "AEEFile.h"
31+
#define FILE IFile
32+
#endif
33+
34+
typedef int jint;
35+
36+
#endif /* WIN32 */
37+
38+
#ifndef JNICALL
39+
#define JNICALL
40+
#endif
41+
42+
#ifndef JNIEXPORT
43+
#define JNIEXPORT __attribute__((__visibility__("default")))
44+
#endif
45+
46+
#ifndef JNIIMPORT
47+
#define JNIIMPORT
48+
#endif
49+
50+
#ifdef _JNI_IMPLEMENTATION_
51+
#define _JNI_IMPORT_OR_EXPORT_ JNIEXPORT
52+
#else
53+
#define _JNI_IMPORT_OR_EXPORT_ JNIIMPORT
54+
#endif
55+
56+
#endif /* jniport_h */
Binary file not shown.

0 commit comments

Comments
 (0)