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:
parent
6c03130542
commit
38277f79bb
|
@ -27,7 +27,7 @@ void f4(const char *fmt, ...) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// rdar://18334276
|
// rdar://18334276
|
||||||
typedef unsigned long size_t;
|
typedef __typeof__(sizeof(int)) size_t;
|
||||||
void * memcset(void *restrict dst, int src, size_t n);
|
void * memcset(void *restrict dst, int src, size_t n);
|
||||||
void * memcpy(void *restrict dst, const void *restrict src, size_t n);
|
void * memcpy(void *restrict dst, const void *restrict src, size_t n);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue