r5685: BUG 1881: only define PRINT_SPOOL_PREFIX if it is not already defined
authorGerald Carter <jerry@samba.org>
Mon, 7 Mar 2005 23:24:19 +0000 (23:24 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:55:54 +0000 (10:55 -0500)
(This used to be commit a42e3fc63cdbabd96f05e6af64344e1489ebf9da)

source3/include/printing.h

index fd1e7e43e4e89f6fa77ec77473656fa60a8fa202..43ff8dd39e83e57f8446ffcab7d8622ba35fd2f3 100644 (file)
@@ -75,7 +75,9 @@ extern struct printif cups_printif;
 
 #define MAX_CACHE_VALID_TIME 3600
 
+#ifndef PRINT_SPOOL_PREFIX
 #define PRINT_SPOOL_PREFIX "smbprn."
+#endif
 #define PRINT_DATABASE_VERSION 5
 
 /* There can be this many printing tdb's open, plus any locked ones. */