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:
François Revol 2014-11-10 20:58:56 +01:00
parent 25996d94d5
commit a0c7f99a5e

2
scp.c
View file

@ -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 */