mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* 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:
parent
274cef3b46
commit
0276ca4760
@ -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_()
|
||||
|
14
pc/config.h
14
pc/config.h
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user