[CRT] crtdefs.h: Wrap localeinfo_struct in ifdef

This prevents a redefinition error, when GCC 13 host headers are included when compiling c++ code.
This commit is contained in:
Timo Kreuzer 2024-03-08 12:55:01 +02:00
parent 1b85a5fa06
commit 95bf896b10
1 changed files with 3 additions and 0 deletions

View File

@ -438,10 +438,13 @@ typedef struct threadmbcinfostruct *pthreadmbcinfo;
struct __lc_time_data;
#ifndef DEFINED_localeinfo_struct
typedef struct localeinfo_struct {
pthreadlocinfo locinfo;
pthreadmbcinfo mbcinfo;
}_locale_tstruct,*_locale_t;
#define DEFINED_localeinfo_struct 1
#endif
#ifdef __cplusplus
}