summaryrefslogtreecommitdiff
path: root/source3/printing/printing.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/printing/printing.c')
-rw-r--r--source3/printing/printing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index f1eaf3723c..370abd4fdf 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -72,10 +72,10 @@ BOOL print_backend_init(void)
tdb_unlock_bystring(tdb, sversion);
/* select the appropriate printing interface... */
-#ifdef HAVE_LIBCUPS
+#ifdef HAVE_CUPS
if (strcmp(lp_printcapname(), "cups") == 0)
current_printif = &cups_printif;
-#endif /* HAVE_LIBCUPS */
+#endif /* HAVE_CUPS */
/* do NT print initialization... */
return nt_printing_init();