diff --git a/src/mouse.c b/src/mouse.c index dfcaddf4..23fcf5de 100644 --- a/src/mouse.c +++ b/src/mouse.c @@ -56,6 +56,7 @@ #endif +#if defined(IS_MACOSX) /** * Calculate the delta for a mouse move and add them to the event. * @param event The mouse move event (by ref). @@ -80,6 +81,7 @@ void calculateDeltas(CGEventRef *event, MMPoint point) CFRelease(get); } +#endif /**