summaryrefslogtreecommitdiff
path: root/cups/usersys.c
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2014-02-20 16:29:50 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2014-02-20 16:29:50 +0000
commit8dd318e55b059e93bf3c5665343760037459c575 (patch)
tree18d070a9bc0adddb9ae6f2af8df3c7781b3c6b9b /cups/usersys.c
parent6539a0afd57df07c1dd476775d92a28c5fce892d (diff)
downloadcups-8dd318e55b059e93bf3c5665343760037459c575.tar.gz
Several libcups files did not have the Apple license exception notice (STR #4361)
VEOL2 isn't available on older System V versions, apparently... git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11628 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cups/usersys.c')
-rw-r--r--cups/usersys.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cups/usersys.c b/cups/usersys.c
index 5dbf1e99a..4a644b96f 100644
--- a/cups/usersys.c
+++ b/cups/usersys.c
@@ -703,7 +703,10 @@ _cupsGetPassword(const char *prompt) /* I - Prompt string */
while ((passbytes = read(tty, &passch, 1)) == 1)
{
- if (passch == noecho.c_cc[VEOL] || passch == noecho.c_cc[VEOL2] ||
+ if (passch == noecho.c_cc[VEOL] ||
+# ifdef VEOL2
+ passch == noecho.c_cc[VEOL2] ||
+# endif /* VEOL2 */
passch == 0x0A || passch == 0x0D)
{
/*