freebsd-ports/benchmarks/dbench/files/patch-aa
Mark Pulford c89ab4991b Add dbench 1.3, a simulation of the Ziff-Davis netbench benchmark.
PR:		35055
Submitted by:	Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su>
2002-02-24 03:46:12 +00:00

22 lines
469 B
Text

*** dbench.h.orig Fri Jan 5 06:49:41 2001
--- dbench.h Sun Feb 17 02:06:34 2002
***************
*** 42,49 ****
#define MSG_WAITALL 0x100
#endif
#define MIN(x,y) ((x)<(y)?(x):(y))
!
#define TCP_PORT 7003
#define TCP_OPTIONS "TCP_NODELAY SO_REUSEADDR"
--- 42,50 ----
#define MSG_WAITALL 0x100
#endif
+ #ifndef MIN
#define MIN(x,y) ((x)<(y)?(x):(y))
! #endif /* MIN */
#define TCP_PORT 7003
#define TCP_OPTIONS "TCP_NODELAY SO_REUSEADDR"