home *** CD-ROM | disk | FTP | other *** search
- /* Copyright (C) 2001 by Digital Mars. $Revision: 1.1.1.1 $ */
- #if __SC__ || __RCC__
- #pragma once
- #endif
-
- #ifndef __WCHAR_H
- #define __WCHAR_H 1
-
- #if __cplusplus
- extern "C" {
- #endif
-
- /* Define _CRTAPI1 (for compatibility with the NT SDK) */
- #ifndef _CRTAPI1
- #define _CRTAPI1 __cdecl
- #endif
-
- /* Define _CRTAPI2 (for compatibility with the NT SDK) */
- #ifndef _CRTAPI2
- #define _CRTAPI2 __cdecl
- #endif
-
- /* Define CRTIMP */
- #ifndef _CRTIMP
- #if defined(_WIN32) && defined(_DLL)
- #define _CRTIMP __declspec(dllimport)
- #else
- #define _CRTIMP
- #endif
- #endif
-
- typedef unsigned int size_t;
- typedef long time_t;
- #if !defined(_WCHAR_T_DEFINED)
- typedef unsigned short wchar_t;
- #define _WCHAR_T_DEFINED 1
- #endif
- typedef wchar_t wint_t;
- typedef wchar_t wctype_t;
- //typedef int mbstate_t;
- struct tm;
-
- #define WCHAR_MIN (wchar_t)0
- #define WCHAR_MAX (wchar_t)0xFFFF
-
- #define WEOF (wint_t) (0xFFFF)
-
- #ifndef NULL
- #ifdef __cplusplus
- #define NULL 0
- #else
- #define NULL ((void *)0)
- #endif
- #endif
-
- #if __cplusplus
- }
- #endif
-
- #ifndef __CTYPE_H
- #include <ctype.h>
- #endif
-
- #ifndef __DIRECT_H
- #include <direct.h>
- #endif
-
- #ifndef __IO_H
- #include <io.h>
- #endif
-
- #ifndef __PROCESS_H
- #include <process.h>
- #endif
-
- #ifndef __SYS_STAT_H
- #include <sys\stat.h>
- #endif
-
- #ifndef __STDIO_H
- #include <stdio.h>
- #endif
-
- #ifndef __STDLIB_H
- #include <stdlib.h>
- #endif
-
- #ifndef __STRING_H
- #include <string.h>
- #endif
-
- #ifndef __TIME_H
- #include <time.h>
- #endif
-
- #if __cplusplus
- extern "C" {
- #endif
-
- int __CLIB fwide(FILE *stream, int mode);
-
- #if __cplusplus
- }
- #endif
-
-
- #endif
-