rnd-20040819-1-src
[rocksndiamonds.git] / src / libem / input.c
index 3ccf6a4f690d4d3b5c849e061b1880fb5052e5a2..2aafb6650a78f2742b4bdb118f5ecd954a8f4a21 100644 (file)
@@ -1,3 +1,6 @@
+
+#if defined(TARGET_X11)
+
 /* 2000-08-13T15:29:40Z
  *
  * handle input from x11 and keyboard and joystick
@@ -323,3 +326,5 @@ void input_eventloop(void)
        input_esc = 0;
        for(i = 0; i < 1; i++) if(keymatrix[escKeyCode[i] >> 3] & 1 << (escKeyCode[i] & 7)) input_esc = 1;
 }
+
+#endif