summaryrefslogtreecommitdiff
path: root/fb
diff options
context:
space:
mode:
authorTorrey Lyons <torrey@mrcla.com>2004-11-05 19:51:38 +0000
committerTorrey Lyons <torrey@mrcla.com>2004-11-05 19:51:38 +0000
commit16ee24cd994fa3f8d479c972f18c8207a5116cb7 (patch)
treebf4093eeb1186758327bf1a19340139b7b6cd19b /fb
parent64c7f8e667eef955b266c359291206c7188ce20c (diff)
Use ROOTLESS instead of platform specific defines.
Diffstat (limited to 'fb')
-rw-r--r--fb/fb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fb/fb.h b/fb/fb.h
index 799338284..ed73aac8e 100644
--- a/fb/fb.h
+++ b/fb/fb.h
@@ -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