mingw-w64-headers/crt/corecrt.h: fix cygwin w32api usage

Cygwin suppresses uintptr_t typedefs to avoid polluting its own
CRT headers. This breaks any use of the type, yet including stdint.h
further pollutes the namespace.

Use __UINTPTR_TYPE__ directly in _invalid_parameter and _invoke_watson
since it is supported by both gcc and clang.

Signed-off-by: Jonathan Yong <10walls@gmail.com>
diff --git a/mingw-w64-headers/crt/corecrt.h b/mingw-w64-headers/crt/corecrt.h
index d28167c..2b6371d5 100644
--- a/mingw-w64-headers/crt/corecrt.h
+++ b/mingw-w64-headers/crt/corecrt.h
@@ -152,11 +152,11 @@
 #endif
 
 #ifdef _DEBUG
-_CRTIMP void __cdecl _invalid_parameter(const wchar_t *expression, const wchar_t *function_name, const wchar_t *file_name, unsigned int line_number, uintptr_t reserved);
+_CRTIMP void __cdecl _invalid_parameter(const wchar_t *expression, const wchar_t *function_name, const wchar_t *file_name, unsigned int line_number, __UINTPTR_TYPE__ reserved);
 #endif
 _CRTIMP void __cdecl _invalid_parameter_noinfo(void);
 _CRTIMP __MINGW_ATTRIB_NORETURN void __cdecl _invalid_parameter_noinfo_noreturn(void);
-_CRTIMP __MINGW_ATTRIB_NORETURN void __cdecl _invoke_watson(const wchar_t *expression, const wchar_t *function_name, const wchar_t *file_name, unsigned int line_number, uintptr_t reserved);
+_CRTIMP __MINGW_ATTRIB_NORETURN void __cdecl _invoke_watson(const wchar_t *expression, const wchar_t *function_name, const wchar_t *file_name, unsigned int line_number, __UINTPTR_TYPE__ reserved);
 
 #if defined(__cplusplus) && _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES