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-09-10 19:45:17 +1000
commitad1abfa65a0ec641b3fcef1ed0d595e7ce93c1ba (patch)
tree9c7ac7c84f2c78a77e4e192eeec72cda9ba5f274 /shell
parent1674f39266dda7929fc21e842554dec9ad43e5ea (diff)
downloadbusybox-w32-ad1abfa65a0ec641b3fcef1ed0d595e7ce93c1ba.tar.gz
busybox-w32-ad1abfa65a0ec641b3fcef1ed0d595e7ce93c1ba.tar.bz2
busybox-w32-ad1abfa65a0ec641b3fcef1ed0d595e7ce93c1ba.zip
win32: ash: #ifdef
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/*