From: Wilfredo Sanchez Date: Wed, 1 May 2002 22:51:20 +0000 (+0000) Subject: Add NSLINKMODULE_OPTION_RETURN_ON_ERROR option. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb0b2461091cda8178e691b8d6ad5bd33a4b394e;p=thirdparty%2Fapache%2Fhttpd.git Add NSLINKMODULE_OPTION_RETURN_ON_ERROR option. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@94899 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/os/unix/os.c b/src/os/unix/os.c index 5f97f6eaf95..3142d982f74 100644 --- a/src/os/unix/os.c +++ b/src/os/unix/os.c @@ -111,8 +111,8 @@ void *ap_os_dso_load(const char *path) if (NSCreateObjectFileImageFromFile(path, &image) != NSObjectFileImageSuccess) return NULL; -#if defined(NSLINKMODULE_OPTION_NONE) - handle = NSLinkModule(image, path, NSLINKMODULE_OPTION_NONE); +#if defined(NSLINKMODULE_OPTION_RETURN_ON_ERROR) + handle = NSLinkModule(image, path, NSLINKMODULE_OPTION_RETURN_ON_ERROR); #else handle = NSLinkModule(image, path, FALSE); #endif