[vlc-devel] commit: Yum, abusing private headers ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Apr 26 10:48:34 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Apr 26 11:45:06 2009 +0300| [6d43981817d0d4173efceafd42eaf40d585fd059] | committer: Rémi Denis-Courmont
Yum, abusing private headers
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6d43981817d0d4173efceafd42eaf40d585fd059
---
src/Makefile.am | 3 +--
src/control/mediacontrol_audio_video.c | 1 +
src/control/playlist.c | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index a3e732a..059b4d4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -174,8 +174,7 @@ libvlc_win32_rc.$(OBJEXT): $(top_builddir)/share/libvlc_win32_rc.rc
libvlc_la_SOURCES = $(SOURCES_libvlc_control)
libvlc_la_LIBADD = `$(VLC_CONFIG) -libs libvlc` \
libvlccore.la ../compat/libcompat.la
-libvlc_la_CFLAGS = `$(VLC_CONFIG) --cflags libvlc` \
- -DMODULE_STRING=\"control\"
+libvlc_la_CFLAGS = `$(VLC_CONFIG) --cflags libvlc`
libvlc_la_LDFLAGS = $(AM_LDFLAGS) `$(VLC_CONFIG) --ldflags libvlc` \
-version-info 4:0:2 \
-export-symbols $(srcdir)/libvlc.sym
diff --git a/src/control/mediacontrol_audio_video.c b/src/control/mediacontrol_audio_video.c
index 7647538..4cc984f 100644
--- a/src/control/mediacontrol_audio_video.c
+++ b/src/control/mediacontrol_audio_video.c
@@ -40,6 +40,7 @@
#include <errno.h> /* ENOMEM */
#include <stdio.h>
#include <ctype.h>
+#define __LIBVLC__ /* WTF? */
#include "../video_output/vout_control.h"
#ifdef HAVE_UNISTD_H
diff --git a/src/control/playlist.c b/src/control/playlist.c
index 4f354ad..5e0ae92 100644
--- a/src/control/playlist.c
+++ b/src/control/playlist.c
@@ -28,6 +28,7 @@
#include <assert.h>
+#define __LIBVLC__
#include "../playlist/playlist_internal.h"
#define PL (libvlc_priv (p_instance->p_libvlc_int)->p_playlist)
More information about the vlc-devel
mailing list