diff options
Diffstat (limited to 'lib/libpm.c')
-rw-r--r-- | lib/libpm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpm.c b/lib/libpm.c index 3c69c105..f6578a59 100644 --- a/lib/libpm.c +++ b/lib/libpm.c @@ -708,7 +708,7 @@ extractAfterLastSlash(const char * const fullPath, -#ifdef WIN32 +#if MSVCRT static void splitpath(const char * const fullPath, char * const retval, @@ -737,8 +737,8 @@ pm_arg0toprogname(const char arg0[]) { but truncated at 64 characters. -----------------------------------------------------------------------------*/ static char retval[64+1]; -#ifdef WIN32 - splitPath(arg0, retval, sizeof(retval)); +#if MSVCRT + splitpath(arg0, retval, sizeof(retval)); #else extractAfterLastSlash(arg0, retval, sizeof(retval)); #endif |