diff options
-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" |