summaryrefslogtreecommitdiff
path: root/hw/xwin/winwindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xwin/winwindow.c')
-rw-r--r--hw/xwin/winwindow.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/hw/xwin/winwindow.c b/hw/xwin/winwindow.c
index 89977d096..7f77bda6a 100644
--- a/hw/xwin/winwindow.c
+++ b/hw/xwin/winwindow.c
@@ -34,14 +34,6 @@
/*
- * References to external symbols
- */
-
-extern int g_iScreenPrivateIndex;
-extern int g_iWindowPrivateIndex;
-
-
-/*
* Prototypes for local functions
*/
@@ -59,6 +51,7 @@ winReshapePRootless (WindowPtr pWin);
#endif
+#ifdef XWIN_NATIVEGDI
/* See Porting Layer Definition - p. 37 */
/* See mfb/mfbwindow.c - mfbCreateWindow() */
@@ -221,6 +214,7 @@ winMapWindowNativeGDI (WindowPtr pWindow)
return TRUE;
}
+#endif
/* See Porting Layer Definition - p. 37 */