Changeset 96091 in vbox
- Timestamp:
- Aug 7, 2022 2:18:06 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 152890
- Location:
- trunk
- Files:
-
- 16 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/nocrt/stdio.h
r96013 r96091 31 31 32 32 #include <iprt/stream.h> 33 #include <iprt/nocrt/sys/types.h> /* errno_t, off_t */ 33 #include <iprt/nocrt/sys/types.h> /* errno_t, off_t */ 34 #ifdef IPRT_NO_CRT_FOR_3RD_PARTY 35 # include <iprt/nocrt/time.h> /* file.h includes fs.h which includes time.h */ 36 # include <iprt/file.h> /* for RTFILE_SEEK_XXX */ 37 # include <iprt/assertcompile.h> 38 #endif 34 39 35 40 typedef RTFOFF fpos_t; … … 41 46 * check each printf and fprintf call as IPRT isn't 100% compatible... 42 47 */ 48 49 /* These are also in unistd.h: */ 50 # undef SEEK_SET 51 # define SEEK_SET RTFILE_SEEK_BEGIN 52 # undef SEEK_CUR 53 # define SEEK_CUR RTFILE_SEEK_CURRENT 54 # undef SEEK_END 55 # define SEEK_END RTFILE_SEEK_END 56 AssertCompile(SEEK_SET == 0); AssertCompile(SEEK_CUR == 1); AssertCompile(SEEK_END == 2); /* Also in WDK header mmiscapi.h. */ 57 58 43 59 RT_C_DECLS_BEGIN 44 60 … … 73 89 int RT_NOCRT(puts)(const char *psz); 74 90 int RT_NOCRT(fputc)(int, FILE *pFile); 91 int RT_NOCRT(putc)(int, FILE *pFile); 75 92 size_t RT_NOCRT(fread)(void *pvBuf, size_t cbItem, size_t cItems, FILE *pFile); 76 93 int RT_NOCRT(fgetc)(FILE *pFile); -
trunk/include/iprt/nocrt/unistd.h
r96075 r96091 31 31 32 32 #include <iprt/nocrt/sys/types.h> 33 #ifdef IPRT_NO_CRT_FOR_3RD_PARTY 34 # include <iprt/nocrt/time.h> /* file.h includes fs.h which includes time.h */ 35 # include <iprt/file.h> /* for RTFILE_SEEK_XXX */ 36 # include <iprt/assertcompile.h> 37 #endif 38 33 39 34 40 #ifdef IPRT_NO_CRT_FOR_3RD_PARTY 35 41 36 42 /* Flags for access: */ 37 #define F_OK 0 38 #define X_OK 1 39 #define W_OK 2 40 #define R_OK 4 43 # define F_OK 0 44 # define X_OK 1 45 # define W_OK 2 46 # define R_OK 4 47 48 /* These are also in stdio.h: */ 49 # undef SEEK_SET 50 # define SEEK_SET RTFILE_SEEK_BEGIN 51 # undef SEEK_CUR 52 # define SEEK_CUR RTFILE_SEEK_CURRENT 53 # undef SEEK_END 54 # define SEEK_END RTFILE_SEEK_END 55 AssertCompile(SEEK_SET == 0); AssertCompile(SEEK_CUR == 1); AssertCompile(SEEK_END == 2); /* Also in WDK header mmiscapi.h. */ 41 56 42 57 RT_C_DECLS_BEGIN -
trunk/src/VBox/Runtime/Makefile.kmk
r96081 r96091 1833 1833 r3/nocrt-tmpfile.cpp \ 1834 1834 r3/nocrt-tmpfile_s.cpp \ 1835 r3/nocrt-fileno.cpp \ 1835 1836 r3/nocrt-fclose.cpp \ 1836 1837 r3/nocrt-fflush.cpp \ 1838 r3/nocrt-setvbuf.cpp \ 1839 r3/nocrt-fseek.cpp \ 1840 r3/nocrt-fseeko.cpp \ 1841 r3/nocrt-ftell.cpp \ 1842 r3/nocrt-ftello.cpp \ 1843 r3/nocrt-fwrite.cpp \ 1844 r3/nocrt-fputc.cpp \ 1845 r3/nocrt-putc.cpp \ 1846 r3/nocrt-fputs.cpp \ 1847 r3/nocrt-puts.cpp \ 1848 r3/nocrt-fread.cpp \ 1849 r3/nocrt-fgetc.cpp \ 1850 r3/nocrt-getc.cpp \ 1851 r3/nocrt-clearerr.cpp \ 1852 r3/nocrt-ferror.cpp \ 1837 1853 1838 1854 RuntimeR3_SOURCES.x86 = $(RuntimeBaseR3_SOURCES.x86) \
Note:
See TracChangeset
for help on using the changeset viewer.