summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/synctexdir
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/synctexdir')
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/synctexdir/synctex.c b/Build/source/texk/web2c/synctexdir/synctex.c
index f6623fafd75..67dc8d510bb 100644
--- a/Build/source/texk/web2c/synctexdir/synctex.c
+++ b/Build/source/texk/web2c/synctexdir/synctex.c
@@ -272,8 +272,8 @@ Latest Revision: Wed Jul 1 08:15:44 UTC 2009
# define SYNCTEX_RULE_HT ruleht
# define SYNCTEX_RULE_DP ruledp
-/* Do not worry if the compiler doesn't support __attribute__. */
-# ifndef __attribute__
+/* For non-GCC compilation. */
+# if !defined(__GNUC__) || (__GNUC__ < 2)
# define __attribute__(A)
# endif