Last change
on this file since 21398 was 21398, checked in by dmik, 15 years ago |
Build minivcrt.lib (accessible through minivcrt.h) that aims at providing MSVCRT-specific functions such as the wide character version of _getcwd() and similar to other runtimes.
|
File size:
913 bytes
|
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
|
---|
13 | extern "C" {
|
---|
14 | #endif
|
---|
15 |
|
---|
16 | void MSVCRT__set_errno(int err);
|
---|
17 |
|
---|
18 | /*char* msvcrt_strndup(const char*,unsigned int);*/
|
---|
19 | LPWSTR msvcrt_wstrndup(LPCWSTR, unsigned int);
|
---|
20 |
|
---|
21 | #define MSVCRT_wchar_t WCHAR
|
---|
22 | #define MSVCRT_size_t size_t
|
---|
23 |
|
---|
24 | #define MSVCRT__errno _errno
|
---|
25 | #define MSVCRT__getdrive _getdrive
|
---|
26 | #define MSVCRT__fullpath _fullpath
|
---|
27 | #define MSVCRT_malloc malloc
|
---|
28 |
|
---|
29 | #define TRACE 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
|
---|
30 | #define FIXME 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
|
---|
31 | #define debugstr_w(a) ""
|
---|
32 | #define dprintf(a) do {} while(0)
|
---|
33 |
|
---|
34 | #ifdef __cplusplus
|
---|
35 | }
|
---|
36 | #endif
|
---|
37 |
|
---|
38 | #endif /* _minivcrt_internal_h_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.