aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/cfb/cfbmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/cfb/cfbmap.h')
-rw-r--r--xorg-server/cfb/cfbmap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xorg-server/cfb/cfbmap.h b/xorg-server/cfb/cfbmap.h
index 16e4afc3c..14b58c550 100644
--- a/xorg-server/cfb/cfbmap.h
+++ b/xorg-server/cfb/cfbmap.h
@@ -32,6 +32,10 @@ in this Software without prior written authorization from The Open Group.
/* a losing vendor cpp dumps core if we define CFBNAME in terms of CATNAME */
+#ifdef _MSC_VER
+#define PSZ 8
+#endif
+
#if PSZ != 8
#if PSZ == 32