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))) #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

View File

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