version 1.23, 2006/08/31 14:33:09
|
version 1.24, 2006/09/06 20:31:42
|
|
|
#ifndef _Provider_JMPIImpl_h | #ifndef _Provider_JMPIImpl_h |
#define _Provider_JMPIImpl_h | #define _Provider_JMPIImpl_h |
| |
|
#include <Pegasus/Common/Config.h> |
|
|
#include <jni.h> | #include <jni.h> |
|
|
|
#ifdef PEGASUS_PLATFORM_LINUX_GENERIC_GNU |
|
#if defined (__GNUC__) && GCC_VERSION >= 40000 |
|
// If gcc is compiled with -fvisibility=hidden then JMPI is broken. This is because |
|
// the JNI h file defines JNIEXPORT as empty since the default is visible. |
|
#undef JNIEXPORT |
|
#define JNIEXPORT __attribute__ ((visibility("default"))) |
|
#endif |
|
#endif |
|
|
#include <stdio.h> | #include <stdio.h> |
#include <stdlib.h> | #include <stdlib.h> |
#include <string.h> | #include <string.h> |
| |
#include <Pegasus/Common/Config.h> |
|
#include <Pegasus/Common/String.h> | #include <Pegasus/Common/String.h> |
#include <Pegasus/Common/System.h> | #include <Pegasus/Common/System.h> |
#include <Pegasus/Common/HashTable.h> | #include <Pegasus/Common/HashTable.h> |