Kaydet (Commit) b7de76d8 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Mac OS X does provide localtime_r and gmtime_r

Change-Id: I1142463972df76aac9e491abbfd08a67cf4db1f1
üst f899ce3d
......@@ -402,8 +402,10 @@ struct passwd *getpwent_r(struct passwd *pwd, char *buffer, int buflen);
extern struct spwd *getspnam_r(const char *name, struct spwd *result,
char *buffer, int buflen);
#if !defined MACOSX
struct tm *localtime_r(const time_t *timep, struct tm *buffer);
struct tm *gmtime_r(const time_t *timep, struct tm *buffer);
#endif
#endif /* !defined FREEBSD || (__FreeBSD_version < 500112) */
#if !defined(FREEBSD) || (__FreeBSD_version < 601103)
struct hostent *gethostbyname_r(const char *name, struct hostent *result,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment