summaryrefslogtreecommitdiff
path: root/Build/source/utils/xindy/xindy-2.4/tex2xindy/tex2xindy.l
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-11-22 08:45:19 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-11-22 08:45:19 +0000
commitec9ca906a994c385dd682a5b5ebdf31f8b787ad6 (patch)
tree0368bf2db9387ef0b5ece126f16c7bc02a807928 /Build/source/utils/xindy/xindy-2.4/tex2xindy/tex2xindy.l
parentff3eec0cad86c0795b489e3ed82a88f9ed5ba3ab (diff)
xindy: Adapt for MinGW
git-svn-id: svn://tug.org/texlive/trunk@32209 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/xindy/xindy-2.4/tex2xindy/tex2xindy.l')
-rw-r--r--Build/source/utils/xindy/xindy-2.4/tex2xindy/tex2xindy.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/utils/xindy/xindy-2.4/tex2xindy/tex2xindy.l b/Build/source/utils/xindy/xindy-2.4/tex2xindy/tex2xindy.l
index dd3ef7ee7e6..edb6ea41be3 100644
--- a/Build/source/utils/xindy/xindy-2.4/tex2xindy/tex2xindy.l
+++ b/Build/source/utils/xindy/xindy-2.4/tex2xindy/tex2xindy.l
@@ -95,10 +95,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include <stdio.h>
#include <stdlib.h>
#ifdef WIN32
-# include <kpathsea/getopt.h>
# include <fcntl.h>
-# define YY_NO_UNISTD_H 1
-# ifdef W32TeX
+# ifndef __MINGW32__ /* this should be W32TeX */
+# include <kpathsea/getopt.h>
+# define YY_NO_UNISTD_H 1
# define __STDC_VERSION__ 199901L
# endif
#else