mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
clutter: Remove useless OS_LINUX macro
It was unconditionally set to 1.
This commit is contained in:
parent
0095c2e340
commit
1e2610e4f4
@ -29,9 +29,6 @@ AC_PROG_SED
|
||||
dnl = Preliminary platform checks =============================================
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
AC_DEFINE([OS_LINUX], [1], [Define to 1 if building for Linux])
|
||||
|
||||
AC_CACHE_SAVE
|
||||
|
||||
dnl = Dependencies =========================================================
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include <clutter/clutter.h>
|
||||
|
||||
#if defined CLUTTER_WINDOWING_X11 && OS_LINUX && HAVE_XINPUT_2_2
|
||||
#if defined CLUTTER_WINDOWING_X11 && HAVE_XINPUT_2_2
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
@ -355,12 +355,12 @@ error:
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* defined CLUTTER_WINDOWING_X11 && OS_LINUX && HAVE_XINPUT_2_2 */
|
||||
#endif /* defined CLUTTER_WINDOWING_X11 && HAVE_XINPUT_2_2 */
|
||||
|
||||
static void
|
||||
events_touch (void)
|
||||
{
|
||||
#if defined CLUTTER_WINDOWING_X11 && OS_LINUX && HAVE_XINPUT_2_2
|
||||
#if defined CLUTTER_WINDOWING_X11 && HAVE_XINPUT_2_2
|
||||
ClutterActor *stage;
|
||||
State state;
|
||||
|
||||
@ -384,7 +384,7 @@ events_touch (void)
|
||||
g_print ("end result: %s\n", state.pass ? "pass" : "FAIL");
|
||||
|
||||
g_assert (state.pass);
|
||||
#endif /* defined CLUTTER_WINDOWING_X11 && OS_LINUX && HAVE_XINPUT_2_2 */
|
||||
#endif /* defined CLUTTER_WINDOWING_X11 && HAVE_XINPUT_2_2 */
|
||||
}
|
||||
|
||||
CLUTTER_TEST_SUITE (
|
||||
|
Loading…
Reference in New Issue
Block a user