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/ChangeLog | 5 +++++ Build/source/texk/web2c/synctexdir/synctex.c | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'Build') diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog index ee98bb0d6b9..8631ad60748 100644 --- a/Build/source/texk/web2c/ChangeLog +++ b/Build/source/texk/web2c/ChangeLog @@ -1,3 +1,8 @@ +2010-05-31 Karl Berry + + * synctex.c [__attribute__]: #define __attribute__ away if it is + not defined. tlbuild mail, 28 May 2010 14:34:53. + 2010-05-24 Karl Berry * tex.ch (sup_font_mem_size): increase from 4,000,000 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