diff --git a/reactos/include/crtdll/conio.h b/reactos/include/crtdll/conio.h index a0823278317..be711813919 100644 --- a/reactos/include/crtdll/conio.h +++ b/reactos/include/crtdll/conio.h @@ -19,9 +19,9 @@ * DISCLAMED. This includes but is not limited to warranties of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * $Author: ariadne $ - * $Date: 1999/04/02 21:42:06 $ + * $Date: 1999/04/27 06:16:04 $ * */ @@ -52,8 +52,8 @@ int _ungetch (int cUnget); #define getch _getch #define getche _getche #define kbhit _kbhit -#define putch (cPut) _putch(cPut) -#define ungetch (cUnget) _ungetch(cUnget) +#define putch(cPut) _putch(cPut) +#define ungetch(cUnget) _ungetch(cUnget) #endif /* Not _NO_OLDNAMES */ diff --git a/reactos/include/crtdll/internal/file.h b/reactos/include/crtdll/internal/file.h index 6420e97765e..d1b4c11c26a 100644 --- a/reactos/include/crtdll/internal/file.h +++ b/reactos/include/crtdll/internal/file.h @@ -28,9 +28,17 @@ extern "C" { // might need check for IO_APPEND aswell -#define WRITE_STREAM(f) ((((f)->_flag & _IOWRT) == _IOWRT ) || (((f)->_flag & _IORW) == _IORW )) +#define OPEN4WRITING(f) ((((f)->_flag & _IOWRT) == _IOWRT ) ) -#define READ_STREAM(f) ((((f)->_flag & _IOREAD) == _IOREAD ) || (((f)->_flag & _IORW) == _IORW )) +#define OPEN4READING(f) ((((f)->_flag & _IOREAD) == _IOREAD ) ) + +// might need check for IO_APPEND aswell +#define WRITE_STREAM(f) ((((f)->_flag & _IOWRT) == _IOWRT ) ) + +#define READ_STREAM(f) ((((f)->_flag & _IOREAD) == _IOREAD ) ) + + +char __validfp (FILE *f); int __set_errno(int err); void *filehnd(int fn); diff --git a/reactos/include/crtdll/internal/ieee.h b/reactos/include/crtdll/internal/ieee.h index b6f05b5028f..7406d45deb2 100644 --- a/reactos/include/crtdll/internal/ieee.h +++ b/reactos/include/crtdll/internal/ieee.h @@ -19,6 +19,9 @@ typedef struct { unsigned int mantissah:32; unsigned int exponent:15; unsigned int sign:1; + unsigned int empty:16; } long_double_t; + + #endif \ No newline at end of file diff --git a/reactos/include/crtdll/stdio.h b/reactos/include/crtdll/stdio.h index d227d5c4705..8f94bfce7db 100644 --- a/reactos/include/crtdll/stdio.h +++ b/reactos/include/crtdll/stdio.h @@ -22,9 +22,9 @@ * DISCLAMED. This includes but is not limited to warranties of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * $Author: ariadne $ - * $Date: 1999/04/23 18:43:00 $ + * $Date: 1999/04/27 06:16:04 $ * */ /* Appropriated for Reactos Crtdll by Ariadne */ @@ -53,7 +53,6 @@ extern "C" { #define _IOEOF 0x000100 #define _IOERR 0x000200 #define _IOSTRG 0x000400 -#define _IORW (_IOREAD | _IOWRT) #define _IOAPPEND 0x002000 #define _IORMONCL 0x004000 /* remove on close, for temp files */ /* if _flag & _IORMONCL, ._name_to_remove needs freeing */ @@ -62,6 +61,7 @@ extern "C" { #define _IODIRTY 0x000080 #define _IOAHEAD 0x000008 +#define _IORW (_IOREAD | _IOWRITE ) /*