From 678cc54c4429bf7216ce6bf50ead438bf84bf9a8 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sat, 24 Oct 2015 23:52:29 +0200 Subject: [PATCH] Cleanup of questionable brevity --- src/internal.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/internal.h b/src/internal.h index 625dea00..b551a008 100644 --- a/src/internal.h +++ b/src/internal.h @@ -784,11 +784,11 @@ void _glfwInputMonitorChange(void); * description. * @ingroup event */ -void _glfwInputError(int error, const char* format, ...) -#ifdef __GNUC__ -__attribute__((format(printf, 2, 3))) +#if defined(__GNUC__) +void _glfwInputError(int error, const char* format, ...) __attribute__((format(printf, 2, 3))); +#else +void _glfwInputError(int error, const char* format, ...); #endif -; /*! @brief Notifies dropped object over window. * @param[in] window The window that received the event.