Attempt to fix Sema/builtin-object-size.c after r218258

The type of size_t varies between targets.

llvm-svn: 218288
This commit is contained in:
Hans Wennborg 2014-09-23 00:02:36 +00:00
parent 6c03130542
commit 38277f79bb
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ void f4(const char *fmt, ...) {
}
// rdar://18334276
typedef unsigned long size_t;
typedef __typeof__(sizeof(int)) size_t;
void * memcset(void *restrict dst, int src, size_t n);
void * memcpy(void *restrict dst, const void *restrict src, size_t n);