mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-18 09:40:05 +02:00
25 lines
582 B
Plaintext
25 lines
582 B
Plaintext
From cb1d48e07245450bae6ee286165b56d95c155983 Mon Sep 17 00:00:00 2001
|
|
From: Sergei Reznikov <diver@gelios.net>
|
|
Date: Wed, 29 Aug 2018 12:58:03 +0300
|
|
Subject: define RTLD_NOLOAD
|
|
|
|
|
|
diff --git a/src/dispatch_common.c b/src/dispatch_common.c
|
|
index e2bb186..726d916 100644
|
|
--- a/src/dispatch_common.c
|
|
+++ b/src/dispatch_common.c
|
|
@@ -302,6 +302,10 @@ get_dlopen_handle(void **handle, const char *lib_name, bool exit_on_fail, bool l
|
|
abort();
|
|
}
|
|
|
|
+#ifndef RTLD_NOLOAD
|
|
+ #define RTLD_NOLOAD 0
|
|
+#endif
|
|
+
|
|
#ifdef _WIN32
|
|
*handle = LoadLibraryA(lib_name);
|
|
#else
|
|
--
|
|
2.16.4
|
|
|