scp: avoid redefining MAX
On Haiku, we end up including <sys/param.h> from sim_sock.h which defines MAX.
This commit is contained in:
parent
25996d94d5
commit
a0c7f99a5e
1 changed files with 2 additions and 0 deletions
2
scp.c
2
scp.c
|
@ -242,7 +242,9 @@
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef MAX
|
||||||
#define MAX(a,b) (((a) >= (b)) ? (a) : (b))
|
#define MAX(a,b) (((a) >= (b)) ? (a) : (b))
|
||||||
|
#endif
|
||||||
|
|
||||||
/* search logical and boolean ops */
|
/* search logical and boolean ops */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue