diff --git a/include/types/compression.h b/include/types/compression.h index ecbd5a122..b79d7704b 100644 --- a/include/types/compression.h +++ b/include/types/compression.h @@ -24,6 +24,9 @@ #define _TYPES_COMP_H #if defined(USE_SLZ) +#ifdef USE_ZLIB +#error "Cannot build with both USE_SLZ and USE_ZLIB at the same time." +#endif #include #elif defined(USE_ZLIB) #include