* src/atomic_ops.c: Explicitly define AO_USE_NO_SIGNALS and
AO_USE_NANOSLEEP for NaCl.
+2011-02-19 Ivan Maidanski <ivmai@mail.ru>
+
+ * src/atomic_ops.c: Explicitly define AO_USE_NO_SIGNALS and
+ AO_USE_NANOSLEEP for NaCl.
+
2011-02-19 Ivan Maidanski <ivmai@mail.ru>
* aclocal.m4: Regenerate (by autoreconf -vif using autoconf-2.68,
# 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