@B fix wchar_t v2
This commit is contained in:
parent
927e6cf46d
commit
a1743665dc
|
@ -0,0 +1,17 @@
|
|||
*** ixemul-48.2.orig/include/stddef.h 2017-06-18 21:12:22.018853000 +0200
|
||||
--- ixemul-48.2/include/stddef.h 2017-06-18 21:34:46.144634500 +0200
|
||||
***************
|
||||
*** 48,56 ****
|
||||
--- 48,59 ----
|
||||
#endif
|
||||
|
||||
#ifdef _BSD_WCHAR_T_
|
||||
+ #ifndef _WCHAR_T_
|
||||
+ #define _WCHAR_T_
|
||||
typedef _BSD_WCHAR_T_ wchar_t;
|
||||
#undef _BSD_WCHAR_T_
|
||||
#endif
|
||||
+ #endif
|
||||
|
||||
#ifndef NULL
|
||||
#define NULL 0
|
|
@ -10,13 +10,15 @@
|
|||
#undef _BSD_WCHAR_T_
|
||||
#endif
|
||||
|
||||
--- 48,56 ----
|
||||
--- 48,58 ----
|
||||
#undef _BSD_SIZE_T_
|
||||
#endif
|
||||
|
||||
! #ifndef __cplusplus
|
||||
! #define _WCHAR_T_
|
||||
! #ifndef _WCHAR_T_
|
||||
! #define _WCHAR_T_
|
||||
! typedef __WCHAR_TYPE__ wchar_t;
|
||||
! #endif
|
||||
#undef _BSD_WCHAR_T_
|
||||
#endif
|
||||
|
||||
|
|
|
@ -358,9 +358,6 @@ def _build(pull):
|
|||
removemodule('{clib2}')
|
||||
removemodule('{libdebug}')
|
||||
removemodule('{libm}')
|
||||
rmtree(path.join('{build}', '{gcc}', 'gcc/include'))
|
||||
rmtree(path.join('{build}', '{gcc}', 'gcc/include-fixed'))
|
||||
remove(path.join('{build}', '{gcc}', 'gcc/stmp*'))
|
||||
|
||||
if checkstamps('{libnix}'):
|
||||
removemodule('{libnix}')
|
||||
|
|
Loading…
Reference in New Issue