mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:52:57 +00:00
[CRT]
Improve code readability a bit svn path=/trunk/; revision=50354
This commit is contained in:
parent
500a89ae51
commit
0b68bdaf30
1 changed files with 8 additions and 8 deletions
|
@ -20,6 +20,11 @@
|
|||
int __cdecl _flswbuf(int ch, FILE *stream);
|
||||
#endif
|
||||
|
||||
#ifdef _LIBCNT_
|
||||
# undef _flsbuf
|
||||
# define _flsbuf(chr, stream) _TEOF
|
||||
#endif
|
||||
|
||||
#define MB_CUR_MAX 10
|
||||
#define BUFFER_SIZE (32 + 17)
|
||||
|
||||
|
@ -69,11 +74,6 @@ enum
|
|||
(flags & FLAG_LONGDOUBLE) ? va_arg(argptr, long double) : \
|
||||
va_arg(argptr, double)
|
||||
|
||||
#ifdef _LIBCNT_
|
||||
# undef _flsbuf
|
||||
# define _flsbuf(chr, stream) _TEOF
|
||||
#endif
|
||||
|
||||
#define get_exp(f) floor(f == 0 ? 0 : (f >= 0 ? log10(f) : log10(-f)))
|
||||
#define round(x) floor((x) + 0.5)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue