* config.h: Include VERSION, not ..VERSION. Use sys/utime.h

instead of utime.h for MSVC and MinGW.  Don't use dirent on
Win32 - it's replaced by glib.
This commit is contained in:
Pavel Roskin 2002-01-02 19:14:02 +00:00
parent 274cef3b46
commit 0276ca4760
2 changed files with 17 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2002-01-02 Pavel Roskin <proski@gnu.org>
* config.h: Include VERSION, not ..\VERSION. Use sys/utime.h
instead of utime.h for MSVC and MinGW. Don't use dirent on
Win32 - it's replaced by glib.
2001-11-28 Franco Bez <franco.bez@web.de>
* chmod.c: Fix includes for cross-compiler. Add gettext N_()

View File

@ -71,7 +71,7 @@
# endif
#endif /* MC_OS2 */
#include "..\VERSION"
#include "VERSION"
#ifndef pc_system
# define pc_system
@ -92,9 +92,19 @@
#define STDC_HEADERS
#define HAVE_STDLIB_H
#define HAVE_STRING_H
#ifndef MC_NT
/* glib for Win32 provides its own dirent */
#define HAVE_DIRENT_H
#endif
#define HAVE_LIMITS_H
#if defined (__MINGW32__) || defined (_MSC_VER)
#define HAVE_SYS_UTIME_H
#else
#define HAVE_UTIME_H
#endif
#define HAVE_MEMSET
#define HAVE_MEMCHR
@ -140,8 +150,6 @@ typedef int pid_t;
#ifdef _MSC_VER
#pragma include_alias(<utime.h>, <sys/utime.h>)
#define INLINE
#define inline