]> git.itanic.dy.fi Git - maemo-mapper/blobdiff - src/main.c
previous commit probably broke workaround of r153, fixing
[maemo-mapper] / src / main.c
index 55d383cc3a597cd2b2dacb11fc1ca47ab133828a..9e44dbec4717340d8adf52af48f59f0f4e637286 100644 (file)
@@ -126,7 +126,7 @@ conic_recommend_connected()
 {
     printf("%s()\n", __PRETTY_FUNCTION__);
 
-#ifdef CONIC
+#if defined(__arm__) && defined(CONIC)
     g_mutex_lock(_conic_connection_mutex);
     if(!_conic_is_connecting)
     {
@@ -145,7 +145,7 @@ conic_ensure_connected()
 {
     printf("%s()\n", __PRETTY_FUNCTION__);
 
-#ifdef CONIC
+#if defined(__arm__) && defined(CONIC)
     while(_window && !_conic_is_connected)
     {   
         g_mutex_lock(_conic_connection_mutex);