Last change
on this file was 21550, checked in by dmik, 15 years ago |
minivcrt: Use the own version of _fullpath() instead of the kLIBC one because the latter isn't capable of resolving non-existent paths (it allows only the last component to not exist).
|
File size:
1.0 KB
|
Rev | Line | |
---|
[21398] | 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
|
---|
[21506] | 23 | #define MSVCRT_FILE FILE
|
---|
| 24 | #define MSVCRT_EOF EOF
|
---|
| 25 | #define MSVCRT_stdout stdout
|
---|
[21398] | 26 |
|
---|
| 27 | #define MSVCRT__errno _errno
|
---|
| 28 | #define MSVCRT__getdrive _getdrive
|
---|
[21506] | 29 |
|
---|
[21398] | 30 | #define MSVCRT_malloc malloc
|
---|
[21506] | 31 | #define MSVCRT_free free
|
---|
| 32 | #define MSVCRT_fwrite fwrite
|
---|
[21398] | 33 |
|
---|
| 34 | #define TRACE 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
|
---|
| 35 | #define FIXME 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
|
---|
| 36 | #define debugstr_w(a) ""
|
---|
| 37 | #define dprintf(a) do {} while(0)
|
---|
| 38 |
|
---|
| 39 | #ifdef __cplusplus
|
---|
| 40 | }
|
---|
| 41 | #endif
|
---|
| 42 |
|
---|
| 43 | #endif /* _minivcrt_internal_h_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.