/////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Electronic Arts Inc. All rights reserved.
/////////////////////////////////////////////////////////////////////////////////


#ifndef EASTL_ATOMIC_INTERNAL_COMPILER_MEMORY_BARRIER_H
#define EASTL_ATOMIC_INTERNAL_COMPILER_MEMORY_BARRIER_H

#if defined(EA_PRAGMA_ONCE_SUPPORTED)
	#pragma once
#endif


/////////////////////////////////////////////////////////////////////////////////
//
// void EASTL_COMPILER_ATOMIC_CPU_MB()
//
#if defined(EASTL_COMPILER_ATOMIC_CPU_MB)
	#define EASTL_COMPILER_ATOMIC_CPU_MB_AVAILABLE 1
#else
	#define EASTL_COMPILER_ATOMIC_CPU_MB_AVAILABLE 0
#endif


/////////////////////////////////////////////////////////////////////////////////
//
// void EASTL_COMPILER_ATOMIC_CPU_WMB()
//
#if defined(EASTL_COMPILER_ATOMIC_CPU_WMB)
	#define EASTL_COMPILER_ATOMIC_CPU_WMB_AVAILABLE 1
#else
	#define EASTL_COMPILER_ATOMIC_CPU_WMB_AVAILABLE 0
#endif


/////////////////////////////////////////////////////////////////////////////////
//
// void EASTL_COMPILER_ATOMIC_CPU_RMB()
//
#if defined(EASTL_COMPILER_ATOMIC_CPU_RMB)
	#define EASTL_COMPILER_ATOMIC_CPU_RMB_AVAILABLE 1
#else
	#define EASTL_COMPILER_ATOMIC_CPU_RMB_AVAILABLE 0
#endif


#endif /* EASTL_ATOMIC_INTERNAL_COMPILER_MEMORY_BARRIER_H */
