mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
compat/atomics: rename header guards
Fixes fate-source. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
b5a0b85721
commit
f88c8e0dc3
@ -21,8 +21,8 @@
|
||||
* Copyright (C) 2010 Rémi Denis-Courmont
|
||||
*/
|
||||
|
||||
#ifndef FFMPEG_COMPAT_ATOMICS_DUMMY_STDATOMIC_H
|
||||
#define FFMPEG_COMPAT_ATOMICS_DUMMY_STDATOMIC_H
|
||||
#ifndef COMPAT_ATOMICS_DUMMY_STDATOMIC_H
|
||||
#define COMPAT_ATOMICS_DUMMY_STDATOMIC_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@ -173,4 +173,4 @@ FETCH_MODIFY(and, &)
|
||||
#define atomic_flag_clear_explicit(object, order) \
|
||||
atomic_flag_clear(object)
|
||||
|
||||
#endif /* FFMPEG_COMPAT_ATOMICS_DUMMY_STDATOMIC_H */
|
||||
#endif /* COMPAT_ATOMICS_DUMMY_STDATOMIC_H */
|
||||
|
@ -21,8 +21,8 @@
|
||||
* Copyright (C) 2010 Rémi Denis-Courmont
|
||||
*/
|
||||
|
||||
#ifndef FFMPEG_COMPAT_ATOMICS_GCC_STDATOMIC_H
|
||||
#define FFMPEG_COMPAT_ATOMICS_GCC_STDATOMIC_H
|
||||
#ifndef COMPAT_ATOMICS_GCC_STDATOMIC_H
|
||||
#define COMPAT_ATOMICS_GCC_STDATOMIC_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
@ -170,4 +170,4 @@ do { \
|
||||
#define atomic_flag_clear_explicit(object, order) \
|
||||
atomic_flag_clear(object)
|
||||
|
||||
#endif /* FFMPEG_COMPAT_ATOMICS_GCC_STDATOMIC_H */
|
||||
#endif /* COMPAT_ATOMICS_GCC_STDATOMIC_H */
|
||||
|
@ -21,8 +21,8 @@
|
||||
* Copyright (C) 2010 Rémi Denis-Courmont
|
||||
*/
|
||||
|
||||
#ifndef FFMPEG_COMPAT_ATOMICS_PTHREAD_STDATOMIC_H
|
||||
#define FFMPEG_COMPAT_ATOMICS_PTHREAD_STDATOMIC_H
|
||||
#ifndef COMPAT_ATOMICS_PTHREAD_STDATOMIC_H
|
||||
#define COMPAT_ATOMICS_PTHREAD_STDATOMIC_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@ -194,4 +194,4 @@ FETCH_MODIFY(and, &)
|
||||
#define atomic_flag_clear_explicit(object, order) \
|
||||
atomic_flag_clear(object)
|
||||
|
||||
#endif /* FFMPEG_COMPAT_ATOMICS_PTHREAD_STDATOMIC_H */
|
||||
#endif /* COMPAT_ATOMICS_PTHREAD_STDATOMIC_H */
|
||||
|
@ -16,8 +16,8 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef FFMPEG_COMPAT_ATOMICS_SUNCC_STDATOMIC_H
|
||||
#define FFMPEG_COMPAT_ATOMICS_SUNCC_STDATOMIC_H
|
||||
#ifndef COMPAT_ATOMICS_SUNCC_STDATOMIC_H
|
||||
#define COMPAT_ATOMICS_SUNCC_STDATOMIC_H
|
||||
|
||||
#include <atomic.h>
|
||||
#include <mbarrier.h>
|
||||
@ -183,4 +183,4 @@ static inline intptr_t atomic_fetch_and(intptr_t *object, intptr_t operand)
|
||||
#define atomic_flag_clear_explicit(object, order) \
|
||||
atomic_flag_clear(object)
|
||||
|
||||
#endif /* FFMPEG_COMPAT_ATOMICS_SUNCC_STDATOMIC_H */
|
||||
#endif /* COMPAT_ATOMICS_SUNCC_STDATOMIC_H */
|
||||
|
@ -16,8 +16,8 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef FFMPEG_COMPAT_ATOMICS_WIN32_STDATOMIC_H
|
||||
#define FFMPEG_COMPAT_ATOMICS_WIN32_STDATOMIC_H
|
||||
#ifndef COMPAT_ATOMICS_WIN32_STDATOMIC_H
|
||||
#define COMPAT_ATOMICS_WIN32_STDATOMIC_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
@ -176,4 +176,4 @@ static inline int atomic_compare_exchange_strong(intptr_t *object, intptr_t *exp
|
||||
#define atomic_flag_clear_explicit(object, order) \
|
||||
atomic_flag_clear(object)
|
||||
|
||||
#endif /* FFMPEG_COMPAT_ATOMICS_WIN32_STDATOMIC_H */
|
||||
#endif /* COMPAT_ATOMICS_WIN32_STDATOMIC_H */
|
||||
|
Loading…
Reference in New Issue
Block a user