#include "gltrackball.h"
/* Bah, copied from ../fps.h */
-#ifdef USE_IPHONE
+#ifdef HAVE_MOBILE
extern double current_device_rotation (void);
#else
# define current_device_rotation() (0)
int horizontal_p;
int mx, my, move, scale;
-#ifdef HAVE_COCOA
+#ifdef HAVE_JWXYZ
flip_p = 0; /* MacOS has already handled this. */
#endif