mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 01:42:30 +00:00
Make __CRT_INLINE always inline, use ceil instead of ceill.
Fixed linking when compiling with -O0, it should now work. svn path=/trunk/; revision=41077
This commit is contained in:
parent
fc4d23fa18
commit
ee55e122dd
|
@ -42,7 +42,7 @@
|
|||
|
||||
<!--
|
||||
What level of optimisation to use.
|
||||
0 = off (will not work)
|
||||
0 = off
|
||||
1 = Default option, optimize for size (-Os) with some additional options
|
||||
2 = -Os
|
||||
3 = -O1
|
||||
|
|
|
@ -58,9 +58,9 @@
|
|||
# define __CRT_INLINE inline
|
||||
#else
|
||||
# if ( __MINGW_GNUC_PREREQ(4, 3) && __STDC_VERSION__ >= 199901L)
|
||||
# define __CRT_INLINE extern inline __attribute__((__gnu_inline__))
|
||||
# define __CRT_INLINE extern inline __attribute__((__always_inline__,__gnu_inline__))
|
||||
# else
|
||||
# define __CRT_INLINE extern __inline__
|
||||
# define __CRT_INLINE extern __inline__ __attribute__((__always_inline__))
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1265,8 +1265,8 @@ IntFillArc( PDC dc,
|
|||
{
|
||||
PDC_ATTR pdcattr;
|
||||
PBRUSH pbrush;
|
||||
int Start = ceill(StartArc);
|
||||
int End = ceill(EndArc);
|
||||
int Start = ceil(StartArc);
|
||||
int End = ceil(EndArc);
|
||||
BOOL Chord = (arctype == GdiTypeChord), ret;
|
||||
|
||||
pdcattr = dc->pdcattr;
|
||||
|
@ -1300,8 +1300,8 @@ IntDrawArc( PDC dc,
|
|||
ARCTYPE arctype,
|
||||
PBRUSH pbrush)
|
||||
{
|
||||
int Start = ceill(StartArc);
|
||||
int End = ceill(EndArc);
|
||||
int Start = ceil(StartArc);
|
||||
int End = ceil(EndArc);
|
||||
BOOL Chord = (arctype == GdiTypeChord);
|
||||
// Sort out alignment here.
|
||||
return app_draw_arc(dc, rect( XLeft, YLeft, Width, Height),
|
||||
|
|
Loading…
Reference in a new issue