From 323596a9825b0bc191d0e9ccdcb5c054bd6bfe4c Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Mon, 8 Aug 2011 14:20:10 +0000 Subject: kpathsea: standalone test program progname-test git-svn-id: svn://tug.org/texlive/trunk@23461 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/kpathsea/progname.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Build/source/texk/kpathsea/progname.h') 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); -- cgit v1.2.3