Commit a99300e2 authored by Mikael Ronstrom's avatar Mikael Ronstrom

Fixed solaris builds

parent 3b103b48
......@@ -69,8 +69,16 @@
#endif
#ifndef make_atomic_cas_body
/*
When implementing atomics using solaris.h we will end up here.
In this case we have already implemented all atomic functions
and no more work is needed, this is indicated by MY_ATOMICS_MADE
being defined but not make_atomic_cas_body.
*/
#ifndef MY_ATOMICS_MADE
/* nolock.h was not able to generate even a CAS function, fall back */
#include "atomic/rwlock.h"
#endif
#else
/* define missing functions by using the already generated ones */
#ifndef make_atomic_add_body
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment