Changeset 2948 for trunk/src/lib/kDep.c


Ignore:
Timestamp:
Sep 20, 2016, 5:36:07 PM (9 years ago)
Author:
bird
Message:

kWorker/kDep: save a few header stat calls while optimizing dependencies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/kDep.c

    r2886 r2948  
    5959#include "kDep.h"
    6060
     61#ifdef KWORKER
     62extern int kwFsPathExists(const char *pszPath);
     63#endif
     64
    6165
    6266/*******************************************************************************
     
    239243         * Check that the file exists before we start depending on it.
    240244         */
    241 #ifdef KMK
     245#ifdef KWORKER
     246        if (kwFsPathExists(pszFilename))
     247#elif defined(KMK)
    242248        if (!file_exists_p(pszFilename))
    243249#elif K_OS == K_OS_WINDOWS
Note: See TracChangeset for help on using the changeset viewer.