]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
#ifdef HAVE_LIBXML2 statenames declaration
authorMark Andrews <marka@isc.org>
Fri, 5 Jan 2007 07:24:51 +0000 (07:24 +0000)
committerMark Andrews <marka@isc.org>
Fri, 5 Jan 2007 07:24:51 +0000 (07:24 +0000)
lib/isc/task.c

index 2ba4f66d4577936828d6cd427c41bcd7d6d09f65..935e969aca36ba85e969c94c4d80e1dd781124ff 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: task.c,v 1.99 2007/01/04 00:01:13 marka Exp $ */
+/* $Id: task.c,v 1.100 2007/01/05 07:24:51 marka Exp $ */
 
 /*! \file
  * \author Principal Author: Bob Halley
@@ -67,9 +67,11 @@ typedef enum {
        task_state_done
 } task_state_t;
 
+#ifdef HAVE_LIBXML2
 static const char *statenames[] = {
        "idle", "ready", "running", "done",
 };
+#endif
 
 #define TASK_MAGIC                     ISC_MAGIC('T', 'A', 'S', 'K')
 #define VALID_TASK(t)                  ISC_MAGIC_VALID(t, TASK_MAGIC)