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:
Kai Tietz 2008-12-14 15:03:05 +00:00
parent d64c9533d9
commit 70a2d945bc
2 changed files with 11 additions and 10 deletions

View File

@ -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

View File

@ -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