summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-26 09:44:06 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-26 09:44:06 +0000
commitcf6a122e569e4af5e1c724183f86ab2753e0990a (patch)
tree8e2c93c4a97db6a30536e3c738d4c6141f2c141a /configure
parentb04d1313a85844d056a33fb27509b877703978b6 (diff)
downloadmpv-cf6a122e569e4af5e1c724183f86ab2753e0990a.tar.bz2
mpv-cf6a122e569e4af5e1c724183f86ab2753e0990a.tar.xz
attribute_used macro
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12291 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index 0002c99c14..911f06ce4b 100755
--- a/configure
+++ b/configure
@@ -6106,6 +6106,13 @@ $_def_dynamic_plugins
/* "restrict" keyword */
#define restrict $_def_restrict_keyword
+/* attribute(used) as needed by some compilers */
+#if (__GNUC__ * 100 + __GNUC_MINOR__ >= 300)
+# define attribute_used __attribute__((used))
+#else
+# define attribute_used
+#endif
+
#define PREFIX "$_prefix"
#define USE_OSD 1