mirror of
https://github.com/reactos/reactos.git
synced 2026-05-24 00:00:41 +08: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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user