configure.ac (libgcj_ld_export_all): Set for windows native targets to export-all-symbols.
2011-04-08 Kai Tietz <ktietz@redhat.com> * configure.ac (libgcj_ld_export_all): Set for windows native targets to export-all-symbols. (LIBGCJ_LD_EXPORT_ALL): Export libgcj_ld_export_all. * Makefile.am (libgcj_la_LDFLAGS): Add LIBGCJ_LD_EXPORT_ALL. * sysdep/i386/backtrace.h (MAIN_FUNC): Define for windows native targets to DllMain. * gcj/javaprims.h (JNICALL): Define it dependent for different windows targets. * include/jni_md.h: Likewise. * headers.txt (_Jv_JNI_ToReflectedField): Mark JNICALLS for friends. (_Jv_JNI_ToReflectedMethod): Likewise. * java/lang/Class.h: Regenerated. * java/lang/reflect/Field.h: Regenerated. * java/lang/reflect/Constructor.h: Regenerated. * java/lang/reflect/Method.h: Regenerated. * configure: Regenerated. * Makefile.in: Regenerated. * include/Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. * gcj/Makefile.in: Regenerated. From-SVN: r172186
This commit is contained in:
parent
9d40778b0c
commit
51e16725b8
16 changed files with 111 additions and 26 deletions
|
@ -189,6 +189,7 @@ LIBGCJ_BC_SPEC = @LIBGCJ_BC_SPEC@
|
|||
LIBGCJ_CFLAGS = @LIBGCJ_CFLAGS@
|
||||
LIBGCJ_CXXFLAGS = @LIBGCJ_CXXFLAGS@
|
||||
LIBGCJ_JAVAFLAGS = @LIBGCJ_JAVAFLAGS@
|
||||
LIBGCJ_LD_EXPORT_ALL = @LIBGCJ_LD_EXPORT_ALL@
|
||||
LIBGCJ_LD_SYMBOLIC = @LIBGCJ_LD_SYMBOLIC@
|
||||
LIBGCJ_LD_SYMBOLIC_FUNCTIONS = @LIBGCJ_LD_SYMBOLIC_FUNCTIONS@
|
||||
LIBGCJ_SPEC = @LIBGCJ_SPEC@
|
||||
|
|
|
@ -26,6 +26,15 @@ details. */
|
|||
#undef FALSE
|
||||
#define FALSE FALSE
|
||||
|
||||
// JNI calling convention also defined in jni.h */
|
||||
#ifndef JNICALL
|
||||
#if (defined (_WIN32) || defined (__WIN32__) || defined (WIN32)) && !defined (_WIN64)
|
||||
#define JNICALL __stdcall
|
||||
#else
|
||||
#define JNICALL
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// To force selection of correct types that will mangle consistently
|
||||
// across platforms.
|
||||
extern "Java"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue