summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/synctexdir
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-05-31 00:33:30 +0000
committerKarl Berry <karl@freefriends.org>2010-05-31 00:33:30 +0000
commitd3d35c48fcf4ab71ef5406e58de150bbe08d8c7d (patch)
tree9ce7febc04c3a32d0c5fc65c5ff6d1f479a1de81 /Build/source/texk/web2c/synctexdir
parent459569f4877a327a4ea498d407a39d19ddb56be8 (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/texk/web2c/synctexdir')
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex.c5
1 files changed, 5 insertions, 0 deletions
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"