mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
atomic functions are not available on sparc, too
This commit is contained in:
parent
8ae3783494
commit
2dcdb64b93
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@
|
||||||
#include "pcm_local.h"
|
#include "pcm_local.h"
|
||||||
#include "pcm_plugin.h"
|
#include "pcm_plugin.h"
|
||||||
|
|
||||||
#if defined(__sparc__) || defined(__ia64__)
|
#if defined(__sparc__) || defined(__ia64__) || defined(__mips__)
|
||||||
/* asm/atomic.h is unavailable on sparc and ia64 */
|
/* asm/atomic.h is unavailable on sparc and ia64 */
|
||||||
#define atomic_t int
|
#define atomic_t int
|
||||||
#define atomic_read(x) (*(x))
|
#define atomic_read(x) (*(x))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue