Runtime.loadLibrary fails for -DNO_SHARED_LIBRARIES

Godmar Back gback at fast.cs.utah.edu
Thu Nov 13 16:31:44 PST 1997


A suggested fix is below.

*** ../../../kaffe-0.9.2/kaffe/kaffevm/slib.h   Fri Sep 19 18:05:50 1997
--- slib.h      Thu Nov 13 17:21:21 1997
***************
*** 150,156 ****
  #undef        LIBRARYHANDLE
  #undef        LIBRARYERROR
  
! #define       LIBRARYLOAD(HAND, LIB)          1
  #define       LIBRARYFUNCTION(FUNC, STUB)                                     \
        do {                                                            \
                int z;                                                  \
--- 150,156 ----
  #undef        LIBRARYHANDLE
  #undef        LIBRARYERROR
  
! #define       LIBRARYLOAD(HAND, LIB)          ((HAND) = 1)
  #define       LIBRARYFUNCTION(FUNC, STUB)                                     \
        do {                                                            \
                int z;                                                  \



More information about the kaffe mailing list