diff options
author | Vadim Konovalov <vkonovalov@lucent.com> | 2002-05-12 04:02:47 +0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-05-11 19:54:43 +0000 |
commit | e2a02c1e735e4afbf3df91186f80982fdd43695e (patch) | |
tree | 6368d85928cd4186d9df8ea4b82e31498cb98a62 /wince/include | |
parent | a6bdc2eb98f4e9bd74b51ad84203021dea610d6b (diff) | |
download | perl-e2a02c1e735e4afbf3df91186f80982fdd43695e.tar.gz |
for WinCE cross-build, another one
Message-ID: <004101c1f926$d36ca230$035cc3d9@vad>
p4raw-id: //depot/perl@16548
Diffstat (limited to 'wince/include')
-rw-r--r-- | wince/include/cectype.h | 19 | ||||
-rw-r--r-- | wince/include/errno.h | 49 | ||||
-rw-r--r-- | wince/include/sys/types.h | 23 | ||||
-rw-r--r-- | wince/include/sys/utime.h | 18 | ||||
-rw-r--r-- | wince/include/time.h | 58 |
5 files changed, 0 insertions, 167 deletions
diff --git a/wince/include/cectype.h b/wince/include/cectype.h deleted file mode 100644 index 6a12718fb6..0000000000 --- a/wince/include/cectype.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef CECTYPE_H -#define CECTYPE_H 1 - -#if UNDER_CE < 300 -#define isdigit(C) iswdigit(C) -#define isalpha(C) iswalpha(C) -#define islower(C) iswlower(C) -#define isupper(C) iswupper(C) -#define isspace(C) iswspace(C) -#define isalnum(C) iswalnum(C) -#define iscntrl(C) iswcntrl(C) -#define isprint(C) iswprint(C) -#define ispunct(C) iswpunct(C) -#define isxdigit(C) iswxdigit(C) -#define isascii(C) iswascii(C) -#define isgraph(C) iswgraph(C) -#endif - -#endif diff --git a/wince/include/errno.h b/wince/include/errno.h deleted file mode 100644 index 592816fbe2..0000000000 --- a/wince/include/errno.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef ERRNO_H -#define ERRNO_H 1 - -#ifdef wince_private -#include <cethread.h> -#ifdef _MT -#define errno _getptd()->_terrno -#else -extern int errno; -#endif -#endif - -#define EPERM 1 -#define ENOENT 2 -#define ESRCH 3 -#define EINTR 4 -#define EIO 5 -#define ENXIO 6 -#define E2BIG 7 -#define ENOEXEC 8 -#define EBADF 9 -#define ECHILD 10 -#define EAGAIN 11 -#define ENOMEM 12 -#define EACCES 13 -#define EFAULT 14 -#define EOSERR 15 /* rk */ -#define EBUSY 16 -#define EEXIST 17 -#define EXDEV 18 -#define ENODEV 19 -#define ENOTDIR 20 -#define EISDIR 21 -#define EINVAL 22 -#define ENFILE 23 -#define EMFILE 24 -#define ENOTTY 25 -#define EFBIG 27 -#define ENOSPC 28 -#define ESPIPE 29 -#define EROFS 30 -#define EMLINK 31 -#define EPIPE 32 -#define EDOM 33 -#define ERANGE 34 -#define EDEADLK 36 -#define ENOSYS 37 - -#endif diff --git a/wince/include/sys/types.h b/wince/include/sys/types.h deleted file mode 100644 index 851f569fee..0000000000 --- a/wince/include/sys/types.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef SYS_TYPES_H -#define SYS_TYPES_H 1 - -#ifndef _TIME_T_DEFINED_ -typedef unsigned long time_t; -#define _TIME_T_DEFINED_ -#endif - -typedef unsigned long dev_t; -typedef unsigned long ino_t; -typedef unsigned short gid_t; -typedef unsigned short uid_t; -typedef long clock_t; -typedef long ptrdiff_t; -typedef long off_t; - -typedef unsigned char u_char; -typedef unsigned short u_short; - -typedef unsigned char * caddr_t; -typedef unsigned int size_t; - -#endif diff --git a/wince/include/sys/utime.h b/wince/include/sys/utime.h deleted file mode 100644 index 4dc13669f8..0000000000 --- a/wince/include/sys/utime.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef SYS_UTIME_H -#define SYS_UTIME_H 1 - -#include "time.h" - -struct utimbuf -{ - time_t actime; - time_t modtime; -}; - -struct _utimbuf -{ - time_t actime; - time_t modtime; -}; - -#endif diff --git a/wince/include/time.h b/wince/include/time.h deleted file mode 100644 index fcda60f3c9..0000000000 --- a/wince/include/time.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef TIME_H -#define TIME_H 1 - -#include <celib_defs.h> -#include <sys/types.h> - -#ifdef __cplusplus -extern "C" { -#endif - -extern long _timezone; -extern int _daylight; -extern long _dstbias; -extern char *_tzname[]; -extern const char __dnames[]; -extern const char __mnames[]; -extern int _days[]; -extern int _lpdays[]; - -#define _DAY_SEC (24L * 60L * 60L) /* secs in a day */ -#define _YEAR_SEC (365L * _DAY_SEC) /* secs in a year */ -#define _FOUR_YEAR_SEC (1461L * _DAY_SEC) /* secs in a 4 year interval */ -#define _DEC_SEC 315532800L /* secs in 1970-1979 */ -#define _BASE_YEAR 70L /* 1970 is the base year */ -#define _BASE_DOW 4 /* 01-01-70 was a Thursday */ -#define _LEAP_YEAR_ADJUST 17L /* Leap years 1900 - 1970 */ -#define _MAX_YEAR 138L /* 2038 is the max year */ - -struct tm { - int tm_sec; /* seconds after the minute - [0,59] */ - int tm_min; /* minutes after the hour - [0,59] */ - int tm_hour; /* hours since midnight - [0,23] */ - int tm_mday; /* day of the month - [1,31] */ - int tm_mon; /* months since January - [0,11] */ - int tm_year; /* years since 1900 */ - int tm_wday; /* days since Sunday - [0,6] */ - int tm_yday; /* days since January 1 - [0,365] */ - int tm_isdst; /* daylight savings time flag */ -}; - -XCE_EXPORT struct tm * xcegmtime(const time_t *timp); -XCE_EXPORT struct tm *xcelocaltime (const time_t *ptime); -XCE_EXPORT char *xceasctime (const struct tm *tb); -XCE_EXPORT int xceutime (const char *fname, struct _utimbuf *times); -XCE_EXPORT int xcefutime (int fh, struct _utimbuf *times); -XCE_EXPORT void xceftime (struct _timeb *tp); -XCE_EXPORT void xcegettimeofday (struct timeval *tv, struct timezone *tz); -XCE_EXPORT char *xcectime(const time_t *timp); -XCE_EXPORT void xceftime (struct _timeb *tp); -XCE_EXPORT time_t xcemktime (struct tm *tb); -XCE_EXPORT time_t xcetime (time_t *timeptr); -XCE_EXPORT void _xcetzset(void); - -#ifdef __cplusplus -}; -#endif - -#endif |