pike.git / src / dynamic_load.c

version» Context lines:

pike.git/src/dynamic_load.c:56:   #define HAVE_SOME_DLOPEN   #define EMULATE_DLOPEN   #endif   #endif      #ifdef HAVE_MACH_O_DYLD_H   /* MacOS X... */   #define USE_DYLD   #define HAVE_SOME_DLOPEN   #define EMULATE_DLOPEN - #else /* !HAVE_MACH_O_DYLD_H */ - #if !defined (USE_DLL) && defined (USE_MY_WIN32_DLOPEN) - #include "pike_dlfcn.h" - #define HAVE_SOME_DLOPEN - #define HAVE_DLOPEN - #endif +    #endif /* HAVE_MACH_O_DYLD_H */      #endif   #endif   #else   #define HAVE_SOME_DLOPEN   #endif         #ifdef HAVE_SOME_DLOPEN
pike.git/src/dynamic_load.c:375: Inside #if defined(USE_DYNAMIC_MODULES) and #if defined(NO_CAST_TO_FUN)
   void *ptr;    modfun fun;    } u;    u.ptr = ptr;    return u.fun;   }   #else /* !NO_CAST_TO_FUN */   #define CAST_TO_FUN(X) ((modfun)X)   #endif /* NO_CAST_TO_FUN */    - static void cleanup_compilation(void *ignored) + static void cleanup_compilation(void *UNUSED(ignored))   {    struct program *p = end_program();    if (p) {    free_program(p);    }   }      /*! @decl program load_module(string module_name)    *!    *! Load a binary module.