fix warning(error?) with jlong + x86_64
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
bd0ccd3769
commit
15eb43e5d1
1 changed files with 8 additions and 0 deletions
|
|
@ -33,6 +33,14 @@
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
typedef long long __int64; /*For gcc on Windows */
|
typedef long long __int64; /*For gcc on Windows */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* fix for 'jlong' on x86_64 */
|
||||||
|
#if defined(__x86_64)
|
||||||
|
#ifdef _LP64 /* 64-bit Solaris */
|
||||||
|
#undef _LP64
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <jni.h>
|
#include <jni.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue