diff --git a/RxCocoa/Common/_RX.h b/RxCocoa/Common/_RX.h index 899a9c275..28d2de6a7 100644 --- a/RxCocoa/Common/_RX.h +++ b/RxCocoa/Common/_RX.h @@ -15,11 +15,15 @@ ################################################################################ */ -#if TRACE_RESOURCES +#if TRACE_RESOURCES >= 2 # define DLOG(...) NSLog(__VA_ARGS__) -# define ABORT_IN_DEBUG abort(); #else # define DLOG(...) +#endif + +#if DEBUG +# define ABORT_IN_DEBUG abort(); +#else # define ABORT_IN_DEBUG #endif