summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@googlemail.com>2010-06-04 12:56:31 +0000
committerJonathan Kew <jfkthame@googlemail.com>2010-06-04 12:56:31 +0000
commitff4fdca7195ceb12f0c8b2a72748cdb67946ad6d (patch)
tree9f259ba47e46efa9d07add0956b3371ef916f3f0 /Build
parent8278ef1ce02ecd369007e4881a3d18fdfdb595fd (diff)
fix for __attribute__ cross-compilation failure (64/32bit) on OS X
git-svn-id: svn://tug.org/texlive/trunk@18719 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-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