From d3d35c48fcf4ab71ef5406e58de150bbe08d8c7d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 31 May 2010 00:33:30 +0000 Subject: define __attribute__ away if it is not supported git-svn-id: svn://tug.org/texlive/trunk@18629 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/synctexdir/synctex.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Build/source/texk/web2c/synctexdir') diff --git a/Build/source/texk/web2c/synctexdir/synctex.c b/Build/source/texk/web2c/synctexdir/synctex.c index 38afbe66eae..f6623fafd75 100644 --- a/Build/source/texk/web2c/synctexdir/synctex.c +++ b/Build/source/texk/web2c/synctexdir/synctex.c @@ -272,6 +272,11 @@ 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__ +# define __attribute__(A) +# endif + /* In the header file below, TEX-OR-MF-OR-MP is replaced by the real name (tex, etex...) * Some macros will be redefined and additional headers will be imported */ # include "synctex-TEX-OR-MF-OR-MP.h" -- cgit v1.2.3