summaryrefslogtreecommitdiff
path: root/Build/source/texk/seetexk
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-03-01 16:22:35 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-03-01 16:22:35 +0000
commitf437f873abf5f480b2fa40298e1423082409b6e7 (patch)
tree04f8d33607dabf0df60b414eb63c6c5ae4323aef /Build/source/texk/seetexk
parent532b36d33a31bb24bcc1ebbde69388d43d75965a (diff)
minor build system cleanup
git-svn-id: svn://tug.org/texlive/trunk@17252 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/seetexk')
-rw-r--r--Build/source/texk/seetexk/ChangeLog4
-rw-r--r--Build/source/texk/seetexk/types.h18
2 files changed, 14 insertions, 8 deletions
diff --git a/Build/source/texk/seetexk/ChangeLog b/Build/source/texk/seetexk/ChangeLog
index 188c4dfffd8..71bfeef36b5 100644
--- a/Build/source/texk/seetexk/ChangeLog
+++ b/Build/source/texk/seetexk/ChangeLog
@@ -1,3 +1,7 @@
+2010-02-26 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * types.h: Don't #include <win32lib.h> for KPATHSEA.
+
2010-02-20 Peter Breitenlohner <peb@mppmu.mpg.de>
* types.h: Do not #include <win32lib.h> for MinGW32. Moved
diff --git a/Build/source/texk/seetexk/types.h b/Build/source/texk/seetexk/types.h
index 947a9a10ced..971e897ec1d 100644
--- a/Build/source/texk/seetexk/types.h
+++ b/Build/source/texk/seetexk/types.h
@@ -13,8 +13,17 @@
#ifndef _MCTEX_TYPES_
#define _MCTEX_TYPES_
+#ifdef KPATHSEA
+
+#include <kpathsea/config.h>
+#include <kpathsea/c-memstr.h>
+
+#define BLOCK_COPY(from, to, len) memmove(to, from, len)
+
+#else
+
#if defined(WIN32) && !defined(__MINGW32__)
-#include <win32lib.h>
+#include <win32lib.h> /* not KPATHSEA */
#undef index
#endif
@@ -37,13 +46,6 @@
/* #define BLOCK_COPY(from, to, len) memmove(to, from, len) */
#define BLOCK_COPY(from, to, len) bcopy(from, to, len)
-#ifdef KPATHSEA
-
-#include <kpathsea/config.h>
-#include <kpathsea/c-memstr.h>
-
-#else
-
/*
* Define void as int if your compiler does not support void,
* or if there are bugs in its support (e.g., 4.1BSD).