tccgen: scopes levels for local symbols (update 1)
Catch top level redeclarations too. Also fix mistakes in tcctest.c and the tcc sources (win32) showing up now.
This commit is contained in:
@ -100,17 +100,20 @@ typedef __time64_t time_t;
|
||||
#define _TIME_T_DEFINED
|
||||
#endif
|
||||
|
||||
#if 0 // defined in stddef.h
|
||||
typedef unsigned long size_t;
|
||||
#define _SIZE_T_DEFINED
|
||||
typedef long ssize_t;
|
||||
#define _SSIZE_T_DEFINED
|
||||
|
||||
typedef unsigned int wint_t;
|
||||
typedef unsigned short wctype_t;
|
||||
#define _WCTYPE_T_DEFINED
|
||||
typedef unsigned short wchar_t;
|
||||
#endif
|
||||
#define _SIZE_T_DEFINED
|
||||
#define _SSIZE_T_DEFINED
|
||||
#define _WCHAR_T_DEFINED
|
||||
|
||||
typedef unsigned short wctype_t;
|
||||
typedef unsigned int wint_t;
|
||||
#define _WCTYPE_T_DEFINED
|
||||
#define _WINT_T
|
||||
|
||||
typedef int errno_t;
|
||||
#define _ERRCODE_DEFINED
|
||||
|
||||
|
||||
Reference in New Issue
Block a user