From ad1abfa65a0ec641b3fcef1ed0d595e7ce93c1ba Mon Sep 17 00:00:00 2001 From: Nguyễn Thái Ngọc Duy Date: Wed, 14 Apr 2010 00:32:16 +0200 Subject: win32: ash: #ifdef --- shell/ash.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'shell') diff --git a/shell/ash.c b/shell/ash.c index 9d55f892e..ab935e72a 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -43,7 +43,9 @@ #endif #include "busybox.h" /* for applet_names */ +#ifndef __MINGW32__ #include +#endif #include #include @@ -12465,6 +12467,8 @@ unsetcmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) /* setmode.c */ +#if !ENABLE_PLATFORM_MINGW32 + #include static const unsigned char timescmd_str[] ALIGN1 = { @@ -12497,6 +12501,13 @@ timescmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) return 0; } +#else +static int FAST_FUNC +timescmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) +{ + return 0; +} +#endif #if ENABLE_SH_MATH_SUPPORT /* -- cgit v1.2.3-55-g6feb