Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Aayush
purr-data
Commits
9a0036a1
Commit
9a0036a1
authored
Sep 06, 2015
by
Jonathan Wilkes
Browse files
change DL_OPEN to HAVE_LIBDL
parent
f6d32429
Changes
2
Hide whitespace changes
Inline
Side-by-side
pd/src/configure.in
View file @
9a0036a1
...
...
@@ -208,7 +208,7 @@ dnl This should be fixed so Pd can use ALSA shared libraries where appropriate.
LDFLAGS="$LDFLAGS -static"
fi
EXT=pd_linux
CPPFLAGS="-D
DL_OPEN
-DPA_USE_OSS -DUNIX -DUNISTD -fno-strict-aliasing"
CPPFLAGS="-D
HAVE_LIBDL
-DPA_USE_OSS -DUNIX -DUNISTD -fno-strict-aliasing"
dnl No OSS on hurd
if test `uname -s` = "GNU";
then
...
...
pd/src/s_loader.c
View file @
9a0036a1
...
...
@@ -2,7 +2,7 @@
* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution. */
#ifdef
DL_OPEN
#ifdef
HAVE_LIBDL
#include
<dlfcn.h>
#endif
#ifdef UNISTD
...
...
@@ -173,7 +173,7 @@ gotone:
strncat
(
filename
,
nameptr
,
FILENAME_MAX
-
strlen
(
filename
));
filename
[
FILENAME_MAX
-
1
]
=
0
;
#ifdef
DL_OPEN
#ifdef
HAVE_LIBDL
dlobj
=
dlopen
(
filename
,
RTLD_NOW
|
RTLD_GLOBAL
);
if
(
!
dlobj
)
{
...
...
Write
Preview
Supports
Markdown
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