summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/progname.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-04 17:56:23 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-04 17:56:23 +0000
commit2e62f31ca5853fdd1e587f8c45d09cc6a45ce40b (patch)
tree82bb7716f043ff0bf7dc70d25597b6aac05153fd /Build/source/texk/kpathsea/progname.h
parent44167180edb89f78e62c9105af13218390561c52 (diff)
part 1 of mingw32 patches from Taco
git-svn-id: svn://tug.org/texlive/trunk@12307 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/progname.h')
-rw-r--r--Build/source/texk/kpathsea/progname.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/progname.h b/Build/source/texk/kpathsea/progname.h
index d46bc56e435..afcb461c455 100644
--- a/Build/source/texk/kpathsea/progname.h
+++ b/Build/source/texk/kpathsea/progname.h
@@ -26,6 +26,11 @@ extern KPSEDLL string program_invocation_name;
extern KPSEDLL string program_invocation_short_name;
extern KPSEDLL string kpse_program_name;
+/* Return directory ARGV0 comes from. Check PATH if ARGV0 is not
+ absolute. */
+
+extern KPSEDLL string selfdir P1H(const_string argv0);
+
/* Set the first two variables above (if they're not predefined) to a copy
of ARGV0 and everything in ARGV0 after the last directory separator,
respectively. Set kpse_program_name to a copy of PROGNAME or the