Commit cadb5c85 authored by Mark Andrews's avatar Mark Andrews
Browse files

#ifdef HAVE_LIBXML2 statenames

parent 1e70c9a3
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: task.c,v 1.103 2007/02/13 02:49:08 marka Exp $ */ /* $Id: task.c,v 1.104 2007/02/14 02:32:30 marka Exp $ */
/*! \file /*! \file
* \author Principal Author: Bob Halley * \author Principal Author: Bob Halley
...@@ -68,9 +68,11 @@ typedef enum { ...@@ -68,9 +68,11 @@ typedef enum {
task_state_done task_state_done
} task_state_t; } task_state_t;
#ifdef HAVE_LIBXML2
static const char *statenames[] = { static const char *statenames[] = {
"idle", "ready", "running", "done", "idle", "ready", "running", "done",
}; };
#endif
#define TASK_MAGIC ISC_MAGIC('T', 'A', 'S', 'K') #define TASK_MAGIC ISC_MAGIC('T', 'A', 'S', 'K')
#define VALID_TASK(t) ISC_MAGIC_VALID(t, TASK_MAGIC) #define VALID_TASK(t) ISC_MAGIC_VALID(t, TASK_MAGIC)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment