Per Marco, don't define a "min" function if one is already defined to avoid conflict with cygwin reserved word
This commit was SVN r30241.
Этот коммит содержится в:
родитель
880943dc10
Коммит
9566650458
@ -52,10 +52,12 @@ static int reduce_no_order(void *sbuf, void* rbuf, int count,
|
|||||||
/*
|
/*
|
||||||
* Useful utility routine
|
* Useful utility routine
|
||||||
*/
|
*/
|
||||||
|
#if !defined(min)
|
||||||
static inline int min(int a, int b)
|
static inline int min(int a, int b)
|
||||||
{
|
{
|
||||||
return (a < b) ? a : b;
|
return (a < b) ? a : b;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Shared memory reduction.
|
* Shared memory reduction.
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user