Merge pull request #133 from PureDarwin/xnu_warnings

Fix overly-verbose warning in xnu header
This commit is contained in:
William Kent
2023-10-09 14:49:27 -04:00
committed by GitHub

View File

@@ -40,7 +40,7 @@
#ifndef _PTRDIFF_T
#define _PTRDIFF_T
typedef __typeof__(((int*)NULL)-((int*)NULL)) ptrdiff_t;
typedef __typeof__(((int*)1)-((int*)1)) ptrdiff_t;
#endif
#ifndef _SIZE_T
#define _SIZE_T