From f3f4f1c779adf4eb4770e66a7201435a98549129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 17 Aug 2016 09:41:44 +0200 Subject: [PATCH] Platform: include version-specific APIs in Doxygen, too. --- src/Magnum/Platform/GlfwApplication.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Magnum/Platform/GlfwApplication.h b/src/Magnum/Platform/GlfwApplication.h index 8d0655cfa..8613213f5 100644 --- a/src/Magnum/Platform/GlfwApplication.h +++ b/src/Magnum/Platform/GlfwApplication.h @@ -276,7 +276,7 @@ class GlfwApplication::Configuration { * @see @ref Flags, @ref setFlags(), @ref Context::Flag */ enum class Flag: Int { - #ifdef GLFW_CONTEXT_NO_ERROR + #if defined(DOXYGEN_GENERATING_OUTPUT) || defined(GLFW_CONTEXT_NO_ERROR) /** * Specifies whether errors should be generated by the context. * If enabled, situations that would have generated errors instead @@ -308,7 +308,7 @@ class GlfwApplication::Configuration { Resizeable = 1 << 1, /**< Resizeable window */ Hidden = 1 << 2, /**< Hidden window */ - #ifdef GLFW_MAXIMIZED + #if defined(DOXYGEN_GENERATING_OUTPUT) || defined(GLFW_MAXIMIZED) /** * Maximized window *