Commit c25f65d0 authored by marko's avatar marko

branches/zip: Enclose some #error checks inside #ifndef DOXYGEN

to prevent bogus Doxygen errors.
parent c7d9b4bc
......@@ -647,14 +647,16 @@ xdes_calc_descriptor_page(
0 for uncompressed pages */
ulint offset) /*!< in: page offset */
{
#if UNIV_PAGE_SIZE <= XDES_ARR_OFFSET \
#ifndef DOXYGEN /* Doxygen gets confused of these */
# if UNIV_PAGE_SIZE <= XDES_ARR_OFFSET \
+ (UNIV_PAGE_SIZE / FSP_EXTENT_SIZE) * XDES_SIZE
# error
#endif
#if PAGE_ZIP_MIN_SIZE <= XDES_ARR_OFFSET \
# endif
# if PAGE_ZIP_MIN_SIZE <= XDES_ARR_OFFSET \
+ (PAGE_ZIP_MIN_SIZE / FSP_EXTENT_SIZE) * XDES_SIZE
# error
#endif
# endif
#endif /* !DOXYGEN */
ut_ad(ut_is_2pow(zip_size));
if (!zip_size) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment