freebsd-ports/multimedia/vlc/files/patch-modules_gui_qt4_dialogs_messages.hpp
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

11 lines
398 B
C++

--- modules/gui/qt4/dialogs/messages.hpp.orig 2014-08-14 07:20:04 UTC
+++ modules/gui/qt4/dialogs/messages.hpp
@@ -55,7 +55,7 @@ private:
void sinkMessage( const MsgEvent * );
bool matchFilter( const QString& );
- atomic_uint verbosity;
+ atomic_int verbosity;
static void MsgCallback( void *, int, const vlc_log_t *, const char *,
va_list );