From dd3f2da31e0f52b979133a910a8deb84da488ac3 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 28 Jun 2017 22:36:25 +0300 Subject: [PATCH] Comments with doxygen groups should logically be covered by ifdefs too --- SDL2pp/SDL2pp.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SDL2pp/SDL2pp.hh b/SDL2pp/SDL2pp.hh index cd9d5d6..2e567aa 100644 --- a/SDL2pp/SDL2pp.hh +++ b/SDL2pp/SDL2pp.hh @@ -96,34 +96,34 @@ #include #include +#ifdef SDL2PP_WITH_TTF //////////////////////////////////////////////////////////// /// \defgroup ttf SDL_ttf /// /// \brief Text rendering through SDL_ttf library /// //////////////////////////////////////////////////////////// -#ifdef SDL2PP_WITH_TTF # include # include #endif +#ifdef SDL2PP_WITH_IMAGE //////////////////////////////////////////////////////////// /// \defgroup image SDL_image /// /// \brief Functions that are specific to SDL_image library /// //////////////////////////////////////////////////////////// -#ifdef SDL2PP_WITH_IMAGE # include #endif +#ifdef SDL2PP_WITH_MIXER //////////////////////////////////////////////////////////// /// \defgroup mixer SDL_mixer /// /// \brief Functions that are specific to SDL_mixer library /// //////////////////////////////////////////////////////////// -#ifdef SDL2PP_WITH_MIXER # include # include # include