summaryrefslogtreecommitdiffhomepage
path: root/compat/macros.hpp
diff options
context:
space:
mode:
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)