summaryrefslogtreecommitdiffhomepage
path: root/compat/macros.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-12-02 08:14:54 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-12-02 08:21:36 +0100
commit398894b546fb6588049e889678943c124a90ec24 (patch)
treeb5db21f64a01c5e6d27920052e022728e9678611 /compat/macros.hpp
parentb830658e3e1657de1ef8581a53b4298769c117ee (diff)
compat/macros: rename obnoxious macro
Diffstat (limited to 'compat/macros.hpp')
-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__)