diff options
| author | ivmai <ivmai> | 2011-02-19 11:07:15 +0000 |
|---|---|---|
| committer | Ivan Maidanski <ivmai@mail.ru> | 2011-07-25 16:03:26 +0400 |
| commit | 52ec0c66a426e19c5b99138146b4e22f15dde72e (patch) | |
| tree | 20232b885dcee6e085753a0ee8c5f7f1ff03de1c /src/atomic_ops.c | |
| parent | 1e16e9d73f1a93330389ca20e37daa1ce2bca3b7 (diff) | |
| download | libatomic_ops-52ec0c66a426e19c5b99138146b4e22f15dde72e.tar.gz | |
2011-02-19 Ivan Maidanski <ivmai@mail.ru>
* src/atomic_ops.c: Explicitly define AO_USE_NO_SIGNALS and
AO_USE_NANOSLEEP for NaCl.
Diffstat (limited to 'src/atomic_ops.c')
| -rw-r--r-- | src/atomic_ops.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/atomic_ops.c b/src/atomic_ops.c index 39d7e60..66fba0d 100644 --- a/src/atomic_ops.c +++ b/src/atomic_ops.c @@ -32,6 +32,13 @@ # include "config.h" #endif +#if defined(__native_client__) && !defined(AO_USE_NO_SIGNALS) \ + && !defined(AO_USE_NANOSLEEP) + /* Since NaCl is not recognized by configure yet, we do it here. */ +# define AO_USE_NO_SIGNALS +# define AO_USE_NANOSLEEP +#endif + #if defined(AO_USE_WIN32_PTHREADS) && !defined(AO_USE_NO_SIGNALS) # define AO_USE_NO_SIGNALS #endif |
