[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Building Diffutils with MinGW
From: |
Eli Zaretskii |
Subject: |
Building Diffutils with MinGW |
Date: |
Fri, 04 May 2012 17:41:16 +0300 |
Hi,
I'm building Diffutils 3.2 with MinGW, and I see this in src/system.h:
/* This section contains POSIX-compliant defaults for macros
that are meant to be overridden by hand in config.h as needed. */
#ifndef file_name_cmp
# define file_name_cmp strcmp
#endif
[...]
#ifndef NULL_DEVICE
# define NULL_DEVICE "/dev/null"
#endif
[...]
#ifndef same_file
# define same_file(s, t) \
((((s)->st_ino == (t)->st_ino) && ((s)->st_dev == (t)->st_dev)) \
|| same_special_file (s, t))
#endif
However, no tests are made by the configure script for these features,
and consequently no definitions for these macros are put into
lib/config.h after running configure. Am I missing something?
If I don't miss anything, what would be the best way of fixing this?
I can supply the definitions needed for MinGW, but where to put them?
TIA
- Building Diffutils with MinGW,
Eli Zaretskii <=
- Re: Building Diffutils with MinGW, Paul Eggert, 2012/05/04
- Re: Building Diffutils with MinGW, Eli Zaretskii, 2012/05/04
- Re: Building Diffutils with MinGW, Paul Eggert, 2012/05/04
- Re: Building Diffutils with MinGW, Eli Zaretskii, 2012/05/04
- Re: Building Diffutils with MinGW, Paul Eggert, 2012/05/04
- Re: Building Diffutils with MinGW, Eli Zaretskii, 2012/05/05
- Re: Building Diffutils with MinGW, Eli Zaretskii, 2012/05/05
- Re: Building Diffutils with MinGW, Jim Meyering, 2012/05/05
- Re: Building Diffutils with MinGW, Eli Zaretskii, 2012/05/05
- Re: Building Diffutils with MinGW, Paul Eggert, 2012/05/06