2006-02-16 23:25:46 +00:00
|
|
|
#define bcopy(s,d,l) memcpy((d),(s),(l))
|
|
|
|
#define bzero(cp,l) memset((cp),0,(l))
|
|
|
|
|
|
|
|
#define rindex strrchr
|
|
|
|
#define index strchr
|
|
|
|
|
|
|
|
#define getwd getcwd
|
|
|
|
|
2008-12-22 23:35:35 +00:00
|
|
|
#define strcasecmp _stricmp
|
|
|
|
#define strncasecmp _strnicmp
|
2006-02-16 23:25:46 +00:00
|
|
|
|
2010-03-30 11:09:21 +00:00
|
|
|
#ifndef _TIMEZONE_DEFINED /* also in sys/time.h */
|
|
|
|
#define _TIMEZONE_DEFINED
|
2008-12-21 17:26:39 +00:00
|
|
|
struct timezone {
|
2010-03-30 11:09:21 +00:00
|
|
|
int tz_minuteswest;
|
|
|
|
int tz_dsttime;
|
2008-12-21 17:26:39 +00:00
|
|
|
};
|
|
|
|
|
2010-03-30 11:09:21 +00:00
|
|
|
extern int __cdecl gettimeofday (struct timeval *p, struct timezone *z);
|
|
|
|
#endif
|