Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /* Copyright (C) 1999 DJ Delorie, see COPYING.DJ for details */
  2. /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */
  3. #ifndef __dj_include_wchar_h_
  4. #define __dj_include_wchar_h_
  5.  
  6. /* Bare bones header to satisfy SGI STL's basic_string<> */
  7.  
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11.  
  12. #ifndef __dj_ENFORCE_ANSI_FREESTANDING
  13.  
  14. #include <stddef.h>
  15.  
  16. __DJ_wint_t
  17. #undef __DJ_wint_t
  18. #define __DJ_wint_t
  19.  
  20. #ifndef WEOF
  21. #define WEOF ((wint_t)(-1))
  22. #endif
  23.  
  24. typedef struct
  25. {
  26.   int shift_state;
  27. } mbstate_t;
  28.  
  29. #ifndef __STRICT_ANSI__
  30.  
  31. #ifndef _POSIX_SOURCE
  32.  
  33. #endif /* !_POSIX_SOURCE */
  34. #endif /* !__STRICT_ANSI__ */
  35. #endif /* !__dj_ENFORCE_ANSI_FREESTANDING */
  36.  
  37. #ifndef __dj_ENFORCE_FUNCTION_CALLS
  38. #endif /* !__dj_ENFORCE_FUNCTION_CALLS */
  39.  
  40. #ifdef __cplusplus
  41. }
  42. #endif
  43.  
  44. #endif /* !__dj_include_wchar_h_ */
  45.  
  46.