Remove defines of UINT32__MIN and UINT32__MAX, because they are in the
<stdint.h> and UINT32__MAX is computed in a wrong way.
Make the HAVE_CONFIG_H hack Android specific and add extern "C" for C++
compatibility to onLoad.h
// auto-generated headers by JNI
#include "org_ocera_orte_tools_Conversions.h"
-#include "org_ocera_orte_Domain.h"
#include "org_ocera_orte_DomainEvents.h"
#include "org_ocera_orte_DomainProp.h"
#include "org_ocera_orte_tools_GetORTEConstant.h"
*/
-# define UINT32__MIN 0
-# define UINT32__MAX (2^32 -1)
-
-
typedef struct
{
JavaVM *jvm;
+#include <jni.h>
+
#ifndef IncludedOnLoad
#define IncludedOnLoad
-
-#include <jni.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
jclass findClass(JNIEnv *env, const char* name);
+#ifdef __cplusplus
+}
+#endif
#endif