Re: POPT 2.0: version stamping in includes

2010-06-18 Thread Jeff Johnson
On Jun 18, 2010, at 9:03 PM, Michael Jennings wrote: Ah, okay. I guess I was envisioning for runtime checks: void *f = dlopen(NULL, RTLD_LAZY); if (dlsym(f, popt_something)) { ... } Any idea how portably POSIX dlsym() is in 2010? There's the GNUish dlvsym() that needs

Re: POPT 2.0: version stamping in includes

2010-06-18 Thread Michael Jennings
On Friday, 18 June 2010, at 21:09:24 (-0400), Jeff Johnson wrote: Any idea how portably POSIX dlsym() is in 2010? According to the Open Group website, dlsym() and dlopen() are at *least* in POSIX.1 2004 if not earlier. And they came from SunOS, so Solaris portability won't be an issue. MacOS