@@ -13,10 +13,14 @@ * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "OFException.h" + +#ifndef OF_HAVE_THREADS +# error No threads available! +#endif @class OFThread; /*! * @brief An exception indicating that starting a thread failed.