diff options
author | Jeremy Allison <jra@samba.org> | 1998-11-17 00:31:39 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-11-17 00:31:39 +0000 |
commit | c1a3346547d887bfd2402a6b0bcc185680eb4470 (patch) | |
tree | 0fcf2f43a523b8e9021e6b394ad28cd69a4a18a4 | |
parent | 6c25a3314243997508b0b2da4bfa10bb979e9c10 (diff) | |
download | samba-c1a3346547d887bfd2402a6b0bcc185680eb4470.tar.gz samba-c1a3346547d887bfd2402a6b0bcc185680eb4470.tar.xz samba-c1a3346547d887bfd2402a6b0bcc185680eb4470.zip |
Moved PRINTCAP_NAME from smb.h to includes to allow it to
be tuned per system type.
Jeremy.
-rw-r--r-- | source/include/includes.h | 3 | ||||
-rw-r--r-- | source/include/smb.h | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/source/include/includes.h b/source/include/includes.h index fc718961a95..24fb84c8035 100644 --- a/source/include/includes.h +++ b/source/include/includes.h @@ -29,6 +29,7 @@ #ifdef AIX #define DEFAULT_PRINTING PRINT_AIX +#define PRINTCAP_NAME "/etc/qconfig" #endif #ifdef HPUX @@ -543,8 +544,10 @@ extern int errno; #ifndef DEFAULT_PRINTING #ifdef SYSV #define DEFAULT_PRINTING PRINT_SYSV +#define PRINTCAP_NAME "lpstat" #else #define DEFAULT_PRINTING PRINT_BSD +#define PRINTCAP_NAME "/etc/printcap" #endif #endif diff --git a/source/include/smb.h b/source/include/smb.h index 0f1683e3c92..0ffbcded131 100644 --- a/source/include/smb.h +++ b/source/include/smb.h @@ -54,10 +54,6 @@ typedef int BOOL; #define DEF_CREATE_MASK (0755) #endif -#ifndef PRINTCAP_NAME -#define PRINTCAP_NAME "/etc/printcap" -#endif - /* how long to wait for secondary SMB packets (milli-seconds) */ #define SMB_SECONDARY_WAIT (60*1000) |