mirror of
https://frontier.innolan.net/github/amigaos-cross-toolchain6.git
synced 2024-10-19 10:29:55 +00:00
@B fix wchar_t v2
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user