# endif
+/**
+ * Memory storage space for an atom. Never access it directly.
+ */
+typedef union
+{
+ atomic_uintptr_t u;
+} vlc_atomic_t;
+
/** Static initializer for \ref vlc_atomic_t */
# define VLC_ATOMIC_INIT(val) { (val) }
#include "vlc_mtime.h"
#include "vlc_threads.h"
-/**
- * Memory storage space for an atom. Never access it directly.
- */
-typedef union
-{
- volatile uintptr_t u;
- volatile intptr_t s;
-} vlc_atomic_t;
-
/*****************************************************************************
* Common structure members
*****************************************************************************/
*/
#include <vlc_es.h>
+#include <vlc_atomic.h>
/** Description of a planar graphic field */
typedef struct plane_t
#endif
#include "dialogs/messages.hpp"
-#include <vlc_atomic.h>
#include <QTextEdit>
#include <QTextCursor>
#include "util/singleton.hpp"
#include "ui/messages_panel.h"
#include <stdarg.h>
+#include <vlc_atomic.h>
class QTabWidget;
class QPushButton;
#ifndef LIBVLC_AOUT_INTERNAL_H
# define LIBVLC_AOUT_INTERNAL_H 1
+# include <vlc_atomic.h>
+
/* Max input rate factor (1/4 -> 4) */
# define AOUT_MAX_INPUT_RATE (4)