diff options
author | Thomas White <taw@physics.org> | 2010-02-22 16:43:48 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-02-22 17:38:16 +0100 |
commit | 32f52f0821802aecb1d00dd1054acf25325b8599 (patch) | |
tree | ca015d81b2643c84f9d6aa974aed609c3b814b1f /src/dirax.h | |
parent | 39319d29e02fe2491ead6cbceb72ac93c71a54c1 (diff) |
Compile without GLib (without pain)
Diffstat (limited to 'src/dirax.h')
-rw-r--r-- | src/dirax.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/dirax.h b/src/dirax.h index b6b80488..530d2696 100644 --- a/src/dirax.h +++ b/src/dirax.h @@ -17,8 +17,19 @@ #include <config.h> #endif +#include "utils.h" + +#if HAVE_GLIB extern void run_dirax(struct image *image); +#else + +static void run_dirax(struct image *image) +{ + ERROR("Can't run DirAx without GLib.\n"); +} + +#endif #endif /* DIRAX_H */ |