Skip to content

Commit

Permalink
macro doc
Browse files Browse the repository at this point in the history
  • Loading branch information
eseiler committed Feb 13, 2025
1 parent 04253b5 commit a8bc18f
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions include/seqan3/core/platform.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@
# error SeqAn3 include directory not set correctly. Forgot to add -I ${INSTALLDIR}/include to your CXXFLAGS?
#endif

// zlib [optional]
/*!\def SEQAN3_HAS_ZLIB
* \brief Whether ZLIB support is available or not.
* \ingroup core
*/
#ifndef SEQAN3_HAS_ZLIB
# if __has_include(<zlib.h>)
# define SEQAN3_HAS_ZLIB 1
Expand All @@ -113,6 +118,11 @@
# endif
#endif

// bzip2 [optional]
/*!\def SEQAN3_HAS_BZIP2
* \brief Whether BZIP2 support is available or not.
* \ingroup core
*/
#ifndef SEQAN3_HAS_BZIP2
# if SEQAN3_HAS_ZLIB && __has_include(<bzlib.h>)
# define SEQAN3_HAS_BZIP2 1
Expand All @@ -132,10 +142,6 @@
# else
# define SEQAN3_HAS_CEREAL 0
# endif
#elif SEQAN3_HAS_CEREAL != 0
# if !__has_include(<cereal/cereal.hpp>)
# error Cereal was marked as required, but not found!
# endif
#endif

//!\cond DEV
Expand Down

0 comments on commit a8bc18f

Please sign in to comment.