Fix compilation error (gcc 4.3.3 doesn't seem to like inline, or maybe it should be static inline)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@764 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
e5f948076b
commit
358b0ea076
4
brush.c
4
brush.c
@ -1293,7 +1293,7 @@ void Stretch_brush_preview(short x1, short y1, short x2, short y2)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Returns the minimum of 4 integers.
|
/// Returns the minimum of 4 integers.
|
||||||
inline int Min4(int a,int b,int c,int d)
|
int Min4(int a,int b,int c,int d)
|
||||||
{
|
{
|
||||||
if (a<b)
|
if (a<b)
|
||||||
if (c<d)
|
if (c<d)
|
||||||
@ -1321,7 +1321,7 @@ void Pixel_in_distort_buffer(word x_pos,word y_pos,byte color)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Returns the maximum of 4 integers.
|
/// Returns the maximum of 4 integers.
|
||||||
inline int Max4(int a,int b,int c,int d)
|
int Max4(int a,int b,int c,int d)
|
||||||
{
|
{
|
||||||
if (a>b)
|
if (a>b)
|
||||||
if (c>d)
|
if (c>d)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user