Index: src/atomic.h ================================================================== --- src/atomic.h +++ src/atomic.h @@ -11,10 +11,16 @@ * Alternatively, it may be distributed under the terms of the GNU General * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ + +#import "objfw-defs.h" + +#ifndef OF_HAVE_ATOMIC_OPS +# error No atomic operations available! +#endif #include #import "macros.h"