summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
Diffstat (limited to 'compat')
-rw-r--r--compat/macros.hpp6
1 files changed, 3 insertions, 3 deletions
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__)