diff options
author | simokawa <simokawa@FreeBSD.org> | 2003-10-31 04:58:03 +0000 |
---|---|---|
committer | simokawa <simokawa@FreeBSD.org> | 2003-10-31 04:58:03 +0000 |
commit | 1670caf40adbead8bc0ae9fe844a70c9a6b6baaf (patch) | |
tree | 6a65012a0be2dc3ceefbe3040819b7e9e20def5e /sys/dev | |
parent | cbca8b58aa2f74c44531eabda8ca3b4114d5ed3d (diff) | |
download | FreeBSD-src-1670caf40adbead8bc0ae9fe844a70c9a6b6baaf.zip FreeBSD-src-1670caf40adbead8bc0ae9fe844a70c9a6b6baaf.tar.gz |
Add a compatibility macro for FreeBSD-4.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/firewire/firewirereg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/firewire/firewirereg.h b/sys/dev/firewire/firewirereg.h index 0f97574..3297db6 100644 --- a/sys/dev/firewire/firewirereg.h +++ b/sys/dev/firewire/firewirereg.h @@ -330,6 +330,7 @@ extern devclass_t firewire_devclass; #define BIO_READ B_READ #define BIO_WRITE B_WRITE #define MIN(a,b) (((a)<(b))?(a):(b)) +#define MAX(a,b) (((a)>(b))?(a):(b)) #endif MALLOC_DECLARE(M_FW); |