Fix incorrect conditional
authorJohn Darrington <john@darrington.wattle.id.au>
Fri, 1 Jul 2011 16:37:51 +0000 (18:37 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Fri, 1 Jul 2011 16:37:51 +0000 (18:37 +0200)
src/output/driver.c

index c0a525edae2f4963c3b34067c8c8f474b5b1a017..5c5c8648864fd0866ed1312b405c803f68294497 100644 (file)
@@ -235,7 +235,7 @@ extern const struct output_driver_factory txt_driver_factory;
 extern const struct output_driver_factory list_driver_factory;
 extern const struct output_driver_factory html_driver_factory;
 extern const struct output_driver_factory csv_driver_factory;
-#ifdef ODT_SUPPORT
+#ifdef ODF_WRITE_SUPPORT
 extern const struct output_driver_factory odt_driver_factory;
 #endif
 #ifdef HAVE_CAIRO
@@ -250,7 +250,7 @@ static const struct output_driver_factory *factories[] =
     &list_driver_factory,
     &html_driver_factory,
     &csv_driver_factory,
-#ifdef ODT_SUPPORT
+#ifdef ODF_WRITE_SUPPORT
     &odt_driver_factory,
 #endif
 #ifdef HAVE_CAIRO