source: trunk/src/msvcrt/minivcrt_internal.h@ 21506

Last change on this file since 21506 was 21506, checked in by dmik, 15 years ago

minivcrt: Added a bunch of *wprintf() functions.

File size: 1.1 KB
Line 
1/*
2 * Header file for the stripped down version of MSVCRT that only
3 * contains functions specific to the MS VC Runtime (internal definitions).
4 *
5 * Project Odin Software License can be found in LICENSE.TXT
6 *
7 */
8
9#ifndef _minivcrt_internal_h_
10#define _minivcrt_internal_h_
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16void MSVCRT__set_errno(int err);
17
18/*char* msvcrt_strndup(const char*,unsigned int);*/
19LPWSTR msvcrt_wstrndup(LPCWSTR, unsigned int);
20
21#define MSVCRT_wchar_t WCHAR
22#define MSVCRT_size_t size_t
23#define MSVCRT_FILE FILE
24#define MSVCRT_EOF EOF
25#define MSVCRT_stdout stdout
26
27#define MSVCRT__errno _errno
28#define MSVCRT__getdrive _getdrive
29#ifndef __EMX__
30#define MSVCRT__fullpath _fullpath
31#endif
32
33#define MSVCRT_malloc malloc
34#define MSVCRT_free free
35#define MSVCRT_fwrite fwrite
36
37#define TRACE 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
38#define FIXME 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
39#define debugstr_w(a) ""
40#define dprintf(a) do {} while(0)
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif /* _minivcrt_internal_h_ */
Note: See TracBrowser for help on using the repository browser.