Changeset 932


Ignore:
Timestamp:
May 26, 2007, 1:11:48 AM (18 years ago)
Author:
bird
Message:

Fixed warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmakenew/kbuild.c

    r927 r932  
    3636#include "dep.h"
    3737#include "debug.h"
     38#ifdef WINDOWS32
     39# include "pathstuff.h"
     40#endif
    3841
    3942#include "kbuild.h"
     
    5861static const char *g_argv0 = "";
    5962/** The initial working directory. */
    60 static const char *g_pszInitialCwd = ".";
     63static char *g_pszInitialCwd = ".";
    6164
    6265
     
    155158            memcpy(pszTmp2, g_argv0, cch);
    156159#ifdef HAVE_DOS_PATHS
    157             while (pszSep >= pszTmp2 && *pszSep != '/' && *pszSep != '\\' && pszSep != ':')
     160            while (pszSep >= pszTmp2 && *pszSep != '/' && *pszSep != '\\' && *pszSep != ':')
    158161#else
    159162            while (pszSep >= pszTmp2 && *pszSep != '/')
Note: See TracChangeset for help on using the changeset viewer.