BUILD: properly report when USE_ZLIB and USE_SLZ are used together
Use #error here otherwise the errors are hard to spot for the casual user.
This commit is contained in:
parent
c0edfc281e
commit
a5c51ac6a6
|
@ -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 <slz.h>
|
||||
#elif defined(USE_ZLIB)
|
||||
#include <zlib.h>
|
||||
|
|
Loading…
Reference in New Issue