changeset 6789:8498d2731ad2

little fix
author alex
date Thu, 25 Jul 2002 13:38:14 +0000
parents ffcac0e6a5f4
children 414f8c72f6e7
files drivers/radeon/radeon_vid.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/drivers/radeon/radeon_vid.c	Thu Jul 25 13:36:59 2002 +0000
+++ b/drivers/radeon/radeon_vid.c	Thu Jul 25 13:38:14 2002 +0000
@@ -109,6 +109,10 @@
 #define RTRACE(...)	((void)0)
 #endif
 
+#ifndef min
+#define min(a,b) (a < b ? a : b)
+#endif
+
 #ifndef RAGE128
 #if defined(__i386__)
 /* Ugly but only way */