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:
Marcelo Matus 2004-12-16 01:37:38 +00:00
commit 15eb43e5d1

View file

@ -33,6 +33,14 @@
#if defined(__GNUC__)
typedef long long __int64; /*For gcc on Windows */
#endif
/* fix for 'jlong' on x86_64 */
#if defined(__x86_64)
#ifdef _LP64 /* 64-bit Solaris */
#undef _LP64
#endif
#endif
#include <jni.h>
#include <stdlib.h>
#include <string.h>