[vlc-devel] [PATCH 2/4] pkgconfig: remove obsolescent _REENTRANT & _THREAD_SAFE

RĂ©mi Denis-Courmont remi at remlab.net
Sun Jun 17 11:24:46 CEST 2018


This is implied by recent versions of POSIX, and LibVLC should not mess
the application namespace unless necessary.
---
 src/vlc-plugin.pc.in | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/vlc-plugin.pc.in b/src/vlc-plugin.pc.in
index 60e054e395..01d0b1977d 100644
--- a/src/vlc-plugin.pc.in
+++ b/src/vlc-plugin.pc.in
@@ -15,9 +15,7 @@ Version: @VERSION@
 Cflags: -I${includedir} -I${pkgincludedir}/plugins \
 	-D__PLUGIN__ \
 	-D_FILE_OFFSET_BITS=64 \
-	@DEFS_BIGENDIAN@ \
-	-D_REENTRANT \
-	-D_THREAD_SAFE
+	@DEFS_BIGENDIAN@
 Libs: -L${libdir} -lvlccore
 Libs.private: @LIBS_libvlccore@ \
 	@LTLIBINTL@ @LTLIBICONV@ \
-- 
2.17.1



More information about the vlc-devel mailing list