Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
ac7b6acb
Commit
ac7b6acb
authored
Jun 22, 2009
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core: disabled the deprecated usage of the DYLD API on Darwin for x86_64 builds
This fixes the constant crashes on quit on Leopard
parent
102d36a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/modules/os.c
src/modules/os.c
+5
-5
No files found.
src/modules/os.c
View file @
ac7b6acb
...
...
@@ -43,7 +43,7 @@
#if !defined(HAVE_DYNAMIC_PLUGINS)
/* no support for plugins */
#elif defined(HAVE_DL_DYLD)
#elif defined(HAVE_DL_DYLD)
&& !defined(__x86_64__)
# if defined(HAVE_MACH_O_DYLD_H)
# include <mach-o/dyld.h>
# endif
...
...
@@ -98,7 +98,7 @@ int module_Call( vlc_object_t *obj, module_t *p_module )
if
(
pf_symbol
==
NULL
)
{
#if
defined(HAVE_DL_DYLD
) || defined(HAVE_DL_BEOS)
#if
(defined(HAVE_DL_DYLD) && !defined(__x86_64__)
) || defined(HAVE_DL_BEOS)
msg_Warn
(
obj
,
"cannot find symbol
\"
%s
\"
in file `%s'"
,
psz_name
,
p_module
->
psz_filename
);
#elif defined(HAVE_DL_WINDOWS)
...
...
@@ -145,7 +145,7 @@ int module_Load( vlc_object_t *p_this, const char *psz_file,
{
module_handle_t
handle
;
#if defined(HAVE_DL_DYLD)
#if defined(HAVE_DL_DYLD)
&& !defined(__x86_64__)
NSObjectFileImage
image
;
NSObjectFileImageReturnCode
ret
;
...
...
@@ -253,7 +253,7 @@ int module_Load( vlc_object_t *p_this, const char *psz_file,
*/
void
module_Unload
(
module_handle_t
handle
)
{
#if defined(HAVE_DL_DYLD)
#if defined(HAVE_DL_DYLD)
&& !defined(__x86_64__)
NSUnLinkModule
(
handle
,
FALSE
);
#elif defined(HAVE_DL_BEOS)
...
...
@@ -289,7 +289,7 @@ void module_Unload( module_handle_t handle )
*/
static
void
*
module_Lookup
(
module_handle_t
handle
,
const
char
*
psz_function
)
{
#if defined(HAVE_DL_DYLD)
#if defined(HAVE_DL_DYLD)
&& !defined(__x86_64__)
char
psz_call
[
strlen
(
psz_function
)
+
2
];
psz_call
[
0
]
=
'_'
;
memcpy
(
psz_call
+
1
,
psz_function
,
sizeof
(
psz_call
)
-
1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment