check ivi-layermanagement-api availability
[staging/HomeScreen.git] / HomeScreen / src / main.cpp
index 434cf6c..a896c2e 100644 (file)
@@ -45,14 +45,12 @@ int main(int argc, char *argv[])
 
     MainWindow w;
     w.show();
-#ifdef __arm__
+#ifdef HAVE_IVI_LAYERMANAGEMENT_API
     // the WindowManager positions the surface correctly
-#endif
-#ifdef __i386__
+#else
     w.move(0, 0);
 #endif
 
-
 #ifdef __arm__
     qDebug("Running on ARM architecture");
 #endif