]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Get APR DSO code working under Windows
authorBill Stoddard <stoddard@apache.org>
Mon, 3 Apr 2000 20:41:14 +0000 (20:41 +0000)
committerBill Stoddard <stoddard@apache.org>
Mon, 3 Apr 2000 20:41:14 +0000 (20:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84898 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_so.c
os/win32/os.h

index 2e270e6b37f5fd0a4b36d01988551a806d937a38..04bf05e59a1465fe1f37069d04826c8882aa62b7 100644 (file)
@@ -158,7 +158,7 @@ static void *so_sconf_create(ap_context_t *p, server_rec *s)
     soc->loaded_modules = ap_make_array(p, DYNAMIC_MODULE_LIMIT, 
                                      sizeof(moduleinfo));
 #ifndef NO_DLOPEN
-    ap_os_dso_init();
+    ap_dso_init();
 #endif
 
     return (void *)soc;
index f57089e224141f125efbac5cbb4abeb315a39062..dd9c08ae8e15d336fa0faba5b5a8f8af91662f88 100644 (file)
@@ -166,18 +166,7 @@ API_EXPORT(char *) ap_os_systemcase_filename(ap_context_t *pPool, const char *sz
 int ap_os_is_filename_valid(const char *file);
 int os_strftime(char *, size_t , const char *, const struct tm *);
 
-/* Abstractions for dealing with shared object files (DLLs on Win32).
- * These are used by mod_so.c
- * ToDo: This need to be migrated to APR
- */
-
-#define ap_os_dso_handle_t  HINSTANCE
-#define ap_os_dso_init()
-#define ap_os_dso_load(l)   LoadLibraryEx(l, NULL, LOAD_WITH_ALTERED_SEARCH_PATH)
-#define ap_os_dso_unload(l) FreeLibrary(l)
-#define ap_os_dso_sym(h,s)  GetProcAddress(h,s)
 #define ap_os_dso_error()   "" /* for now */
-
 /* Other ap_os_ routines not used by this platform */
 #define ap_os_kill(pid, sig)                kill(pid, sig)