Commit c7b0e1ec authored by Bernhard Schommer's avatar Bernhard Schommer
Browse files

Make also the wchar definition diab compatible.

parent 46a7e968
...@@ -63,6 +63,20 @@ typedef signed long ptrdiff_t; ...@@ -63,6 +63,20 @@ typedef signed long ptrdiff_t;
#undef __need_ptrdiff_t #undef __need_ptrdiff_t
#endif #endif
#ifdef __DCC__
#ifndef _WCHART
#define _WCHART
#ifndef __wchar_t
#define __wchar_t
#ifdef _TYPE_wchar_t
_TYPE_wchar_t;
#else
typedef signed int wchar_t;
#endif
#endif
#undef __need_wchar_t
#endif
#else
#if defined(_STDDEF_H) || defined(__need_wchar_t) #if defined(_STDDEF_H) || defined(__need_wchar_t)
#ifndef _WCHAR_T #ifndef _WCHAR_T
#define _WCHAR_T #define _WCHAR_T
...@@ -74,6 +88,7 @@ typedef signed int wchar_t; ...@@ -74,6 +88,7 @@ typedef signed int wchar_t;
#endif #endif
#undef __need_wchar_t #undef __need_wchar_t
#endif #endif
#endif
#if defined(_STDDEF_H) || defined(__need_NULL) #if defined(_STDDEF_H) || defined(__need_NULL)
#ifndef NULL #ifndef NULL
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment