Added missing include to stdlib.h and remove load library call

pull/1365/head
Doug Stephen 2017-07-26 15:48:42 -05:00
parent 52c8d06f5d
commit 8243b01c06
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
/* DO NOT EDIT THIS FILE - it is machine generated */ /* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h> #include <jni.h>
#include <stdlib.h>
/* Header for class jassimp_Jassimp */ /* Header for class jassimp_Jassimp */
#ifndef _Included_jassimp_Jassimp #ifndef _Included_jassimp_Jassimp

View File

@ -301,7 +301,7 @@ public final class Jassimp {
public static final int NATIVE_LONG_SIZE; public static final int NATIVE_LONG_SIZE;
static { static {
System.loadLibrary("jassimp"); // System.loadLibrary("jassimp");
NATIVE_AIVEKTORKEY_SIZE = getVKeysize(); NATIVE_AIVEKTORKEY_SIZE = getVKeysize();
NATIVE_AIQUATKEY_SIZE = getQKeysize(); NATIVE_AIQUATKEY_SIZE = getQKeysize();
NATIVE_AIVEKTOR3D_SIZE = getV3Dsize(); NATIVE_AIVEKTOR3D_SIZE = getV3Dsize();