mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-24 02:14:43 +08:00
Clean up some defines and move it into crtdefs.h
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@533 4407c894-4637-0410-b4f5-ada5f102cad1
This commit is contained in:
parent
d64c9533d9
commit
70a2d945bc
@ -418,14 +418,6 @@ extern "C" {
|
||||
#define _CRT_ALIGN(x) __attribute__ ((aligned(x)))
|
||||
#endif
|
||||
|
||||
#ifndef _CRTNOALIAS
|
||||
#define _CRTNOALIAS
|
||||
#endif
|
||||
|
||||
#ifndef _CRTRESTRICT
|
||||
#define _CRTRESTRICT
|
||||
#endif
|
||||
|
||||
#ifndef __CRTDECL
|
||||
#define __CRTDECL __cdecl
|
||||
#endif
|
||||
@ -488,8 +480,6 @@ extern "C" {
|
||||
}
|
||||
#endif
|
||||
|
||||
#define __crt_typefix(ctype)
|
||||
|
||||
#ifndef _CRT_UNUSED
|
||||
#define _CRT_UNUSED(x) (void)x
|
||||
#endif
|
||||
|
@ -10,3 +10,14 @@
|
||||
typedef int errcode;
|
||||
#endif
|
||||
|
||||
#ifndef _CRTNOALIAS
|
||||
#define _CRTNOALIAS
|
||||
#endif
|
||||
|
||||
#ifndef _CRTRESTRICT
|
||||
#define _CRTRESTRICT
|
||||
#endif
|
||||
|
||||
#ifndef __crt_typefix
|
||||
#define __crt_typefix(ctype)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user