diff options
Diffstat (limited to 'x86_64-w64-mingw32/include/crtdefs.h')
-rw-r--r-- | x86_64-w64-mingw32/include/crtdefs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/x86_64-w64-mingw32/include/crtdefs.h b/x86_64-w64-mingw32/include/crtdefs.h index df52e038..2f92c6a6 100644 --- a/x86_64-w64-mingw32/include/crtdefs.h +++ b/x86_64-w64-mingw32/include/crtdefs.h @@ -143,6 +143,14 @@ typedef __time64_t time_t; #define _CRT_SECURE_CPP_NOTHROW throw() #endif +#ifndef __CRTDECL +#if !defined(__cplusplus) && defined(__GNUC__) +#define __CRTDECL __cdecl __attribute__ ((__unused__)) +#else +#define __CRTDECL __cdecl +#endif +#endif + #if defined(__cplusplus) && _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES #define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(__ret,__func,__dsttype,__dst) \ |