mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-24 10:23:54 +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)))
|
#define _CRT_ALIGN(x) __attribute__ ((aligned(x)))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _CRTNOALIAS
|
|
||||||
#define _CRTNOALIAS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _CRTRESTRICT
|
|
||||||
#define _CRTRESTRICT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef __CRTDECL
|
#ifndef __CRTDECL
|
||||||
#define __CRTDECL __cdecl
|
#define __CRTDECL __cdecl
|
||||||
#endif
|
#endif
|
||||||
@ -488,8 +480,6 @@ extern "C" {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define __crt_typefix(ctype)
|
|
||||||
|
|
||||||
#ifndef _CRT_UNUSED
|
#ifndef _CRT_UNUSED
|
||||||
#define _CRT_UNUSED(x) (void)x
|
#define _CRT_UNUSED(x) (void)x
|
||||||
#endif
|
#endif
|
||||||
|
@ -10,3 +10,14 @@
|
|||||||
typedef int errcode;
|
typedef int errcode;
|
||||||
#endif
|
#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