summaryrefslogtreecommitdiff
path: root/src/cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cursor.c')
-rw-r--r--src/cursor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cursor.c b/src/cursor.c
index 9f0442c..8dd61a0 100644
--- a/src/cursor.c
+++ b/src/cursor.c
@@ -91,6 +91,7 @@ XcursorAnimateNext (XcursorAnimate *animate)
return cursor;
}
+#if RENDER_MAJOR > 0 || RENDER_MINOR >= 5
static int
nativeByteOrder (void)
{
@@ -98,6 +99,7 @@ nativeByteOrder (void)
return (*((char *) &x) == 1) ? LSBFirst : MSBFirst;
}
+#endif
static XcursorUInt
_XcursorPixelBrightness (XcursorPixel p)