mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
[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:
parent
1b85a5fa06
commit
95bf896b10
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue