summaryrefslogtreecommitdiff
path: root/wince/sys/stat.h
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-04 13:48:20 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-04 13:48:20 +0000
commita8c3540b32d7621c183627d7cc198f4b24798387 (patch)
tree602e5c4e6a866436cf999e994d4590df9c89fb2a /wince/sys/stat.h
parent642e08187927b2debaa0d84a112123043f0f7912 (diff)
* dln.c: Ruby no longer supports Windows CE.
* eval.c: ditto. * include/ruby/defines.h: ditto. * include/ruby/win32.h: ditto. * ruby.c: ditto. * strftime.c: ditto. * win32/Makefile.sub: ditto. * win32/win32.c: ditto. * ext/tk/extconf.rb: ditto. * lib/fileutils.rb: ditto. * test/fileutils/test_fileutils.rb: ditto. * wince/*: removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'wince/sys/stat.h')
-rw-r--r--wince/sys/stat.h68
1 files changed, 0 insertions, 68 deletions
diff --git a/wince/sys/stat.h b/wince/sys/stat.h
deleted file mode 100644
index e3cdf8b8e7..0000000000
--- a/wince/sys/stat.h
+++ /dev/null
@@ -1,68 +0,0 @@
-#ifndef SYS_STAT_H
-#define SYS_STAT_H 1
-
-#include <sys/types.h>
-
-#define _S_IFMT 0170000 /* file type mask */
-#define _S_IFDIR 0040000 /* directory */
-#define _S_IFCHR 0020000 /* character special */
-#define _S_IFIFO 0010000 /* pipe */
-#define _S_IFREG 0100000 /* regular */
-#define _S_IREAD 0000400 /* read permission, owner */
-#define _S_IWRITE 0000200 /* write permission, owner */
-#define _S_IEXEC 0000100 /* execute/search permission, owner */
-
-#define S_IFMT _S_IFMT
-#define S_IFREG _S_IFREG
-#define S_IFCHR _S_IFCHR
-#define S_IFDIR _S_IFDIR
-#define S_IREAD _S_IREAD
-#define S_IWRITE _S_IWRITE
-#define S_IEXEC _S_IEXEC
-
-#ifndef S_ISDIR
-#define S_ISDIR(X) (((X) & S_IFMT) == S_IFDIR)
-#endif
-#ifndef S_ISREG
-#define S_ISREG(X) (((X) & S_IFMT) == S_IFREG)
-#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-// in sys/types.h
-//typedef unsigned int _dev_t;
-//typedef long _off_t;
-//typedef unsigned short _ino_t;
-
-#ifndef _STAT_DEFINED
-struct stat
-{
- dev_t st_dev;
- ino_t st_ino;
- unsigned short st_mode;
- short st_nlink;
- short st_uid;
- short st_gid;
- dev_t st_rdev;
- off_t st_size;
- time_t st_atime;
- time_t st_mtime;
- time_t st_ctime;
-};
-#define _STAT_DEFINED
-#endif /* _STAT_DEFINED */
-
-#define _stat stat
-
-int _stat(const char *filename, struct _stat *stat);
-int fstat(int file, struct stat *sbuf);
-
-
-#ifdef __cplusplus
-};
-#endif
-
-
-#endif