diff options
Diffstat (limited to 'src/mga_map.h')
-rw-r--r-- | src/mga_map.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mga_map.h b/src/mga_map.h new file mode 100644 index 0000000..b41ca69 --- /dev/null +++ b/src/mga_map.h @@ -0,0 +1,17 @@ +/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/mga/mga_map.h,v 1.2 2001/07/25 15:05:06 dawes Exp $ */ + +#if !defined(UNIXCPP) || defined(ANSICPP) +#define CATNAME(prefix,subname) prefix##subname +#else +#define CATNAME(prefix,subname) prefix/**/subname +#endif + +#if PSZ == 8 +#define MGANAME(subname) CATNAME(Mga8,subname) +#elif PSZ == 16 +#define MGANAME(subname) CATNAME(Mga16,subname) +#elif PSZ == 24 +#define MGANAME(subname) CATNAME(Mga24,subname) +#elif PSZ == 32 +#define MGANAME(subname) CATNAME(Mga32,subname) +#endif |