diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-08-08 14:20:10 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-08-08 14:20:10 +0000 |
commit | 323596a9825b0bc191d0e9ccdcb5c054bd6bfe4c (patch) | |
tree | 87ef587fe74192e8023f048933ce6440675c3e88 /Build/source/texk/kpathsea/progname.h | |
parent | 2ecffc40c146978bd7a054c6c943e9ab1ae48a52 (diff) |
kpathsea: standalone test program progname-test
git-svn-id: svn://tug.org/texlive/trunk@23461 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/progname.h')
-rw-r--r-- | Build/source/texk/kpathsea/progname.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/progname.h b/Build/source/texk/kpathsea/progname.h index dd3c1bffce7..3d012b35152 100644 --- a/Build/source/texk/kpathsea/progname.h +++ b/Build/source/texk/kpathsea/progname.h @@ -25,7 +25,9 @@ /* Return directory ARGV0 comes from. Check PATH if ARGV0 is not absolute. */ +#if !defined (WIN32) extern KPSEDLL string kpathsea_selfdir (kpathsea kpse, const_string argv0); +#endif /* 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, @@ -44,7 +46,9 @@ extern KPSEDLL void kpathsea_set_program_name (kpathsea kpse, #if defined (KPSE_COMPAT_API) +#if !defined (WIN32) extern KPSEDLL string kpse_selfdir (const_string argv0); +#endif extern KPSEDLL void kpse_set_program_name (const_string argv0, const_string progname); |