summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-04-14 07:04:23 +0200
committerNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-09-10 18:50:02 +1000
commitb0448466846c5f050468fd90bd612a1ab84897c9 (patch)
tree6e92083271ed895d54a088a6866819a203a6a5ec /include
parent1b7b544627ede6a6cae55730a9a92fa1dee6a777 (diff)
downloadbusybox-w32-b0448466846c5f050468fd90bd612a1ab84897c9.tar.gz
busybox-w32-b0448466846c5f050468fd90bd612a1ab84897c9.tar.bz2
busybox-w32-b0448466846c5f050468fd90bd612a1ab84897c9.zip
win32: add unlink()
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h
index 32a9b4b4a..d5a675507 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -266,10 +266,12 @@ NOIMPL(setuid,uid_t gid UNUSED_PARAM);
266unsigned int sleep(unsigned int seconds); 266unsigned int sleep(unsigned int seconds);
267NOIMPL(symlink,const char *oldpath UNUSED_PARAM, const char *newpath UNUSED_PARAM); 267NOIMPL(symlink,const char *oldpath UNUSED_PARAM, const char *newpath UNUSED_PARAM);
268static inline void sync(void) {} 268static inline void sync(void) {}
269int mingw_unlink(const char *pathname);
269NOIMPL(vfork,void); 270NOIMPL(vfork,void);
270 271
271#define getcwd mingw_getcwd 272#define getcwd mingw_getcwd
272#define lchown(a,b,c) chown(a,b,c) 273#define lchown(a,b,c) chown(a,b,c)
274#define unlink mingw_unlink
273 275
274/* 276/*
275 * utime.h 277 * utime.h