1
0
mirror of https://github.com/simh/simh.git synced 2026-01-11 23:52:58 +00:00

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>
#endif
#ifndef MAX
#define MAX(a,b) (((a) >= (b)) ? (a) : (b))
#endif
/* search logical and boolean ops */