diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-09-15 23:02:10 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-09-15 23:02:10 +0000 |
commit | a281920f9c8353be9c15bbbe556e3417a83c56fb (patch) | |
tree | 02926ba0b82b7cd90e2de84537be0b91c30d3c72 /Build/source/texk/chktex/chktex-src/ChkTeX.h | |
parent | 1f21fda4113ec399917b4848eb29e32e89db9659 (diff) |
ChkTeX 1.7.6
git-svn-id: svn://tug.org/texlive/trunk@42080 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/chktex/chktex-src/ChkTeX.h')
-rw-r--r-- | Build/source/texk/chktex/chktex-src/ChkTeX.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/chktex/chktex-src/ChkTeX.h b/Build/source/texk/chktex/chktex-src/ChkTeX.h index a5865d6695a..01275d38b05 100644 --- a/Build/source/texk/chktex/chktex-src/ChkTeX.h +++ b/Build/source/texk/chktex/chktex-src/ChkTeX.h @@ -104,6 +104,10 @@ #if defined(__unix__) || defined(__unix) || defined(unix) #undef __unix__ #define __unix__ 1 +#elif defined(__APPLE__) && defined(__MACH__) +/* OS X should be considered a UNIX */ +#undef __unix__ +#define __unix__ 1 #elif defined(MSDOS) || defined(__MSDOS__) || defined(__msdos__) #undef __MSDOS__ #define __MSDOS__ 1 @@ -272,8 +276,8 @@ extern struct ErrMsg PrgMsgs[pmMaxFault + 1]; struct ErrInfo { char *Data; - const char *LineBuf; - const char *File; + char *LineBuf; + char *File; unsigned long Line, Column, ErrLen; enum { |