Ignore:
Timestamp:
Jun 18, 2012, 12:50:38 AM (13 years ago)
Author:
bird
Message:

kmk build fixes for win.amd64.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/config.h.win

    r2591 r2592  
    523523#endif
    524524
    525 /* bird hacks */
     525/* bird hacks - similar in mscfakes.h */
    526526#include <sys/stat.h>
    527 extern int my_stat(const char *, struct stat *);
    528 #define stat(_path, _st) my_stat(_path, _st)
     527#include <io.h>
     528#include <direct.h>
     529#ifndef STAT_REDEFINED_ALREADY
     530# define STAT_REDEFINED_ALREADY
     531# undef stat
     532# define stat(_path, _st) bird_w32_stat(_path, _st)
     533extern int bird_w32_stat(const char *, struct stat *);
     534#endif
    529535
    530536/* cygwin sucks to much in one end or the other. */
Note: See TracChangeset for help on using the changeset viewer.