ports/multimedia/vlc/files/patch-include_vlc__playlist.h
Thomas Zander d9a4fd5cae Fix build with libc++ 3.8.0
VLC brings its own header for atomic operations which defines a whole
bunch of atomic macros, conflicting with the ones in the C++ standard
<atomic> header. This changeset works around those.

PR:		209722
Submitted by:	dim
2016-06-01 06:17:51 +00:00

19 lines
384 B
C

--- include/vlc_playlist.h.orig 2014-11-16 18:57:58 UTC
+++ include/vlc_playlist.h
@@ -24,13 +24,13 @@
#ifndef VLC_PLAYLIST_H_
#define VLC_PLAYLIST_H_
+#include <vlc_input.h>
+#include <vlc_events.h>
+
# ifdef __cplusplus
extern "C" {
# endif
-#include <vlc_input.h>
-#include <vlc_events.h>
-
TYPEDEF_ARRAY(playlist_item_t*, playlist_item_array_t)
struct intf_thread_t;