Changeset b848e30


Ignore:
Timestamp:
May 24, 2011, 12:10:29 AM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
f1c845b, 2d415cc
Parents:
33b6431b
git-author:
David Benjamin <davidben@mit.edu> (05/24/11 00:09:35)
git-committer:
David Benjamin <davidben@mit.edu> (05/24/11 00:10:29)
Message:
Fix the build on libzephyr-less machines

Just don't compile the event source functions at all. There's no good
reason to use them without libzephyr support. We should really move
towards not building zephyr.c in that case anyway.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zephyr.c

    rf97c1a6 rb848e30  
    77#include "owl.h"
    88
     9#ifdef HAVE_LIBZEPHYR
    910static GSource *owl_zephyr_event_source_new(int fd);
    1011
     
    1314static gboolean owl_zephyr_event_dispatch(GSource *source, GSourceFunc callback, gpointer user_data);
    1415
    15 #ifdef HAVE_LIBZEPHYR
    1616static GList *deferred_subs = NULL;
    1717
     
    14511451#define OWL_MAX_ZEPHYRGRAMS_TO_PROCESS 20
    14521452
     1453#ifdef HAVE_LIBZEPHYR
    14531454static int _owl_zephyr_process_events(void)
    14541455{
    14551456  int zpendcount=0;
    1456 #ifdef HAVE_LIBZEPHYR
    14571457  ZNotice_t notice;
    14581458  Code_t code;
     
    14951495    }
    14961496  }
    1497 #endif
    14981497  return zpendcount;
    14991498}
     
    15331532  return TRUE;
    15341533}
     1534#endif
Note: See TracChangeset for help on using the changeset viewer.