Browse Source

HAVE_LINUX_INPUT_H

rdb 16 years ago
parent
commit
aa0e91de1f
2 changed files with 6 additions and 0 deletions
  1. 3 0
      dtool/Config.Linux.pp
  2. 3 0
      dtool/LocalSetup.pp

+ 3 - 0
dtool/Config.Linux.pp

@@ -319,6 +319,9 @@
 // Do we have <ucontext.h> (and therefore makecontext() / swapcontext())?
 #define HAVE_UCONTEXT_H 1
 
+// Do we have <linux/input.h> ? This enables us to use raw mouse input.
+#define HAVE_LINUX_INPUT_H 1
+
 // Do we have RTTI (and <typeinfo>)?
 #define HAVE_RTTI 1
 

+ 3 - 0
dtool/LocalSetup.pp

@@ -602,6 +602,9 @@ $[cdefine HAVE_SYS_SOUNDCARD_H]
    swapcontext())? */
 $[cdefine HAVE_UCONTEXT_H]
 
+/* Do we have <linux/input.h> ? This enables us to use raw mouse input. */
+$[cdefine HAVE_LINUX_INPUT_H]
+
 /* Do we have RTTI (and <typeinfo>)? */
 $[cdefine HAVE_RTTI]