diff options
author | Dave <airlied@linux.ie> | 2006-04-29 16:41:32 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-06-02 10:02:12 +1000 |
commit | f45c1a70e5f7fff082a206ab64d8e6783d4c894f (patch) | |
tree | 9168fe62689af4853f3f9f69cde36e856b553297 /src/common.h | |
parent | 164cac1dec960ad062e066eff92bfdde5e9527e0 (diff) |
make i830 driver build with old servers
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h index 10267360..316be13e 100644 --- a/src/common.h +++ b/src/common.h @@ -315,4 +315,8 @@ extern int I810_DEBUG; #define PIPE_NAME(n) ('A' + (n)) +#ifndef MAX +#define MAX(a,b) ((a) > (b) ? (a) : (b)) +#endif + #endif /* _INTEL_COMMON_H_ */ |