From 398894b546fb6588049e889678943c124a90ec24 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 2 Dec 2017 08:14:54 +0100 Subject: compat/macros: rename obnoxious macro --- compat/macros.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'compat') diff --git a/compat/macros.hpp b/compat/macros.hpp index fcb4fea3..bf134c75 100644 --- a/compat/macros.hpp +++ b/compat/macros.hpp @@ -39,11 +39,11 @@ #endif #ifdef Q_CREATOR_RUN -# define DEFUN_WARN_UNUSED +# define warn_result_unused #elif defined(_MSC_VER) -# define DEFUN_WARN_UNUSED _Check_return_ +# define warn_result_unused _Check_return_ #else -# define DEFUN_WARN_UNUSED __attribute__((warn_unused_result)) +# define warn_result_unused __attribute__((warn_unused_result)) #endif #if defined(__GNUG__) -- cgit v1.2.3