[sanitizer] define __sanitizer_time_t

llvm-svn: 208671
This commit is contained in:
Kostya Serebryany 2014-05-13 07:49:39 +00:00
parent 35687a2fd3
commit b7a7e55dc5
1 changed files with 7 additions and 1 deletions

View File

@ -320,8 +320,14 @@ namespace __sanitizer {
char **gr_mem;
};
#if defined(__x86_64__) && !defined(_LP64)
typedef long long __sanitizer_time_t;
#else
typedef long __sanitizer_time_t;
#endif
struct __sanitizer_timeb {
long time;
__sanitizer_time_t time;
unsigned short millitm;
short timezone;
short dstflag;