mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
Check for more atomic operations
Original commit message from CVS: Check for more atomic operations
This commit is contained in:
parent
06044e1c17
commit
0e6eff633c
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ dnl Do a compile to check that it has atomic_set (eg, linux 2.0 didn't)
|
||||||
if test x$HAVE_ATOMIC_H = xyes; then
|
if test x$HAVE_ATOMIC_H = xyes; then
|
||||||
AC_TRY_RUN([
|
AC_TRY_RUN([
|
||||||
#include "asm/atomic.h"
|
#include "asm/atomic.h"
|
||||||
main() { atomic_t t; atomic_set(&t,0); return 0;}
|
main() { atomic_t t; atomic_set(&t,0); atomic_inc(&t); atomic_add(1,&t);return 0;}
|
||||||
],, [
|
],, [
|
||||||
# Not successful
|
# Not successful
|
||||||
if test x$HAVE_ATOMIC_H = xyes; then
|
if test x$HAVE_ATOMIC_H = xyes; then
|
||||||
|
|
Loading…
Reference in a new issue