aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-04-14 00:32:16 +0200
committerNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-04-20 19:14:36 +0200
commit94bcbe2825f31ca957830baec5ae3994e29976cc (patch)
tree626ae45901341eda64f2be1a970b516806997db6 /shell
parent7ea0d136d0e819ddec8a5f794fa537b761ae4a3d (diff)
downloadbusybox-w32-94bcbe2825f31ca957830baec5ae3994e29976cc.tar.gz
busybox-w32-94bcbe2825f31ca957830baec5ae3994e29976cc.tar.bz2
busybox-w32-94bcbe2825f31ca957830baec5ae3994e29976cc.zip
win32: ash: #ifdef
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c11
1 files changed, 11 insertions, 0 deletions
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 @@
43#endif 43#endif
44 44
45#include "busybox.h" /* for applet_names */ 45#include "busybox.h" /* for applet_names */
46#ifndef __MINGW32__
46#include <paths.h> 47#include <paths.h>
48#endif
47#include <setjmp.h> 49#include <setjmp.h>
48#include <fnmatch.h> 50#include <fnmatch.h>
49 51
@@ -12465,6 +12467,8 @@ unsetcmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
12465 12467
12466/* setmode.c */ 12468/* setmode.c */
12467 12469
12470#if !ENABLE_PLATFORM_MINGW32
12471
12468#include <sys/times.h> 12472#include <sys/times.h>
12469 12473
12470static const unsigned char timescmd_str[] ALIGN1 = { 12474static const unsigned char timescmd_str[] ALIGN1 = {
@@ -12497,6 +12501,13 @@ timescmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
12497 12501
12498 return 0; 12502 return 0;
12499} 12503}
12504#else
12505static int FAST_FUNC
12506timescmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
12507{
12508 return 0;
12509}
12510#endif
12500 12511
12501#if ENABLE_SH_MATH_SUPPORT 12512#if ENABLE_SH_MATH_SUPPORT
12502/* 12513/*