diff options
author | Karl Berry <karl@freefriends.org> | 2010-05-31 00:33:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-05-31 00:33:30 +0000 |
commit | d3d35c48fcf4ab71ef5406e58de150bbe08d8c7d (patch) | |
tree | 9ce7febc04c3a32d0c5fc65c5ff6d1f479a1de81 /Build/source | |
parent | 459569f4877a327a4ea498d407a39d19ddb56be8 (diff) |
define __attribute__ away if it is not supported
git-svn-id: svn://tug.org/texlive/trunk@18629 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/web2c/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/synctexdir/synctex.c | 5 |
2 files changed, 10 insertions, 0 deletions
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 <karl@tug.org> + + * synctex.c [__attribute__]: #define __attribute__ away if it is + not defined. tlbuild mail, 28 May 2010 14:34:53. + 2010-05-24 Karl Berry <karl@tug.org> * 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" |