mirror of
https://github.com/PureDarwin/PureDarwin.git
synced 2026-01-25 04:06:25 +00:00
Merge pull request #133 from PureDarwin/xnu_warnings
Fix overly-verbose warning in xnu header
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user