diff options
Diffstat (limited to 'resources/stubs_includes/common/stddef.h')
-rw-r--r-- | resources/stubs_includes/common/stddef.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/resources/stubs_includes/common/stddef.h b/resources/stubs_includes/common/stddef.h new file mode 100644 index 00000000..da2325af --- /dev/null +++ b/resources/stubs_includes/common/stddef.h @@ -0,0 +1,10 @@ +#if defined(_WIN64) + typedef __int64 ptrdiff_t; +#elif defined(__ia64__) || defined(__x86_64__) + typedef long int ptrdiff_t; +#else + typedef int ptrdiff_t; +#endif + +#define NULL ((void *)0) + typedef int wchar_t; |