From ff4fdca7195ceb12f0c8b2a72748cdb67946ad6d Mon Sep 17 00:00:00 2001 From: Jonathan Kew Date: Fri, 4 Jun 2010 12:56:31 +0000 Subject: 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 --- Build/source/texk/web2c/synctexdir/synctex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Build') 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 -- cgit v1.2.3