diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-03-05 17:06:17 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-03-05 17:06:17 +1000 |
commit | 5792c17be9bce56adf666d902e8f10ac5c93cf1a (patch) | |
tree | f68ed2add98db636686be0c08fc147f423169546 | |
parent | f76c4c6bc637c23226772ed953de80e7fa79bbb5 (diff) |
lib/libXi: fix compiler error if XI2.2 is missing
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | tests/lib/libXi.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/libXi.cpp b/tests/lib/libXi.cpp index ec3a922..c897991 100644 --- a/tests/lib/libXi.cpp +++ b/tests/lib/libXi.cpp @@ -110,6 +110,7 @@ TEST_F(libXiTest, DisplayNotGarbage) XFreeEventData(dpy, &ev.xcookie); } +#if HAVE_XI22 class libXiTouchTest : public libXiTest { public: /** @@ -180,3 +181,4 @@ int main(int argc, char **argv) { return RUN_ALL_TESTS(); } +#endif |