summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2013-12-31 02:06:53 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2013-12-31 02:06:53 +0000
commitb99fb40718c0e9588b7cb3a7ef7fa15220635edd (patch)
tree8ec339954219f90a73f65bcebf533b8359516834
parent1aae882b478be67d401b4d94e2c7b607dd23f10e (diff)
A minor fix in knj.h (windows only)
git-svn-id: svn://tug.org/texlive/trunk@32520 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/kpathsea/ChangeLog5
-rw-r--r--Build/source/texk/kpathsea/knj.h3
2 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index 874e0405a6f..ed83500d83d 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,8 @@
+2013-12-31 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * knj.h: Remove #include <kpathsea/types.h> because Visual Studio 2010
+ cannot compile Kpathsea.
+
2013-12-31 TANAKA Takuji <KXD02663@nifty.ne.jp>
* knj.c, knj.h: Add new functions fsyscp_fopen() and
diff --git a/Build/source/texk/kpathsea/knj.h b/Build/source/texk/kpathsea/knj.h
index 00db79c5e24..7c8ceebb5bb 100644
--- a/Build/source/texk/kpathsea/knj.h
+++ b/Build/source/texk/kpathsea/knj.h
@@ -20,7 +20,6 @@
#define KPATHSEA_KNJ_H
#include <kpathsea/c-proto.h>
-#include <kpathsea/types.h>
#ifdef __cplusplus
extern "C" {
@@ -36,7 +35,7 @@ extern KPSEDLL wchar_t* get_wstring_from_mbstring(int cp, const char *mbstr, wch
extern KPSEDLL char* get_mbstring_from_wstring(int cp, const wchar_t *wstr, char *mbstr);
extern KPSEDLL FILE* fsyscp_xfopen(const char *filename, const char *mode);
extern KPSEDLL FILE* fsyscp_fopen(const char *filename, const char *mode);
-extern KPSEDLL void get_command_line_args_utf8(const_string enc, int *p_ac, string **p_av);
+extern KPSEDLL void get_command_line_args_utf8(const char *enc, int *p_ac, char ***p_av);
#ifdef __cplusplus
}