sna: OsRegisterSigWrapper was only introduced in 1.6.99.900
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Dec 2013 11:09:39 +0000 (11:09 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Dec 2013 11:09:39 +0000 (11:09 +0000)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_accel.c

index 6145336..6fd77ad 100644 (file)
@@ -416,7 +416,9 @@ static int sigtrap_handler(int sig)
 
 static void sigtrap_init(void)
 {
+#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,6,99,900,0)
        OsRegisterSigWrapper(sigtrap_handler);
+#endif
 }
 
 inline static bool