diff options
author | Torrey Lyons <torrey@mrcla.com> | 2004-11-05 19:51:38 +0000 |
---|---|---|
committer | Torrey Lyons <torrey@mrcla.com> | 2004-11-05 19:51:38 +0000 |
commit | 16ee24cd994fa3f8d479c972f18c8207a5116cb7 (patch) | |
tree | bf4093eeb1186758327bf1a19340139b7b6cd19b /fb | |
parent | 64c7f8e667eef955b266c359291206c7188ce20c (diff) |
Use ROOTLESS instead of platform specific defines.
Diffstat (limited to 'fb')
-rw-r--r-- | fb/fb.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -22,7 +22,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $XdotOrg: xc/programs/Xserver/fb/fb.h,v 1.5 2004/07/30 20:30:51 ajax Exp $ */ +/* $XdotOrg: xc/programs/Xserver/fb/fb.h,v 1.6 2004/08/11 21:14:17 kem Exp $ */ #ifndef _FB_H_ #define _FB_H_ @@ -647,7 +647,7 @@ typedef struct { ((WindowPtr) (pWin))->devPrivates[fbGetWinPrivateIndex()].ptr) #endif -#if defined(__DARWIN__)||defined(__CYGWIN__) +#ifdef ROOTLESS #define __fbPixOriginX(pPix) ((pPix)->drawable.x) #define __fbPixOriginY(pPix) ((pPix)->drawable.y) #else |