Skip to content
  • Simon Marlow's avatar
    [project @ 2004-01-05 17:32:35 by simonmar] · 9858bd46
    Simon Marlow authored
    Instead of grabbing the handle to the executable by calling
    dlopen(NULL,...), use RTLD_DEFAULT as the handle to lookup symbols if
    it is available.  It seems that RTLD_DEFAULT may be required on
    certain systems, although I'm not sure it is available everywhere, so
    I've left the old code as fallback in case it isn't available.
    9858bd46