summaryrefslogtreecommitdiffhomepage
path: root/compat/macros.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-12-18 09:11:06 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-12-18 09:12:55 +0100
commit0e1617e876c59d4f4658ebf25630a1f1c7fa93cd (patch)
treef00859018c12d5781c2e94fa207e1a8fbfa688c3 /compat/macros.hpp
parent187f25aefdb9fd63b8465e8e661b942401addde0 (diff)
compat, x-plane: get rid of attribute unused macro
Diffstat (limited to 'compat/macros.hpp')
-rw-r--r--compat/macros.hpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/compat/macros.hpp b/compat/macros.hpp
index 05a027bd..e27eb906 100644
--- a/compat/macros.hpp
+++ b/compat/macros.hpp
@@ -34,12 +34,6 @@
# define force_inline inline
#endif
-#if defined __GNUG__
-# define flatten __attribute__((flatten, noinline))
-#else
-# define flatten
-#endif
-
#ifdef Q_CREATOR_RUN
# define warn_result_unused
#elif defined(_MSC_VER)
@@ -54,12 +48,6 @@
# define unused(t, i) t
#endif
-#if !defined(_WIN32)
-# define unused_on_unix(t, i) unused(t, i)
-#else
-# define unused_on_unix(t, i) t i
-#endif
-
#if defined __GNUC__
# define likely(x) __builtin_expect(!!(x),1)
# define unlikely(x) __builtin_expect(!!(x),0)