]> git.itanic.dy.fi Git - maemo-mapper/commitdiff
previous commit probably broke workaround of r153, fixing
authorbtb <bradleyb@u.washington.edu>
Thu, 29 May 2008 04:12:44 +0000 (04:12 +0000)
committerbtb <bradleyb@u.washington.edu>
Thu, 29 May 2008 04:12:44 +0000 (04:12 +0000)
git-svn-id: svn+ssh://garage/var/lib/gforge/svnroot/maemo-mapper/trunk@188 6c538b50-5814-0410-93ad-8bdf4c0149d1

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);