--- mstools/h/stddef.h 2018/08/09 18:20:01 1.1 +++ mstools/h/stddef.h 2018/08/09 18:20:32 1.1.1.2 @@ -1,7 +1,7 @@ /*** *stddef.h - definitions/declarations for common constants, types, variables * -* Copyright (c) 1985-1991, Microsoft Corporation. All rights reserved. +* Copyright (c) 1985-1992, Microsoft Corporation. All rights reserved. * *Purpose: * This file contains definitions and declarations for some commonly @@ -17,9 +17,11 @@ extern "C" { #endif +#ifndef MIPS #if (_MSC_VER <= 600) #define __cdecl _cdecl #endif +#endif /* define NULL pointer value and the offset() macro */ @@ -70,7 +72,6 @@ typedef unsigned short wchar_t; extern unsigned long __threadid(void); #define _threadid (__threadid()) extern unsigned long __threadhandle(void); -#define _threadhandle (__threadhandle())