summaryrefslogtreecommitdiff
path: root/cups/dest.c
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2019-03-21 18:20:40 -0400
committerMichael R Sweet <michael.r.sweet@gmail.com>2019-03-21 18:20:40 -0400
commit3c2cb8228e5a90fe93b938f55cfbfa538e313d40 (patch)
treecfa13aa707874dc3d70dc7e41996a139bf75a58a /cups/dest.c
parentf89270998d6656004f89085431591bb1b0b1326b (diff)
downloadcups-3c2cb8228e5a90fe93b938f55cfbfa538e313d40.tar.gz
Clean up some build issues on certain platforms.
Diffstat (limited to 'cups/dest.c')
-rw-r--r--cups/dest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cups/dest.c b/cups/dest.c
index 9b7ccbd33..17d96fe4a 100644
--- a/cups/dest.c
+++ b/cups/dest.c
@@ -1,7 +1,7 @@
/*
* User-defined destination (and option) support for CUPS.
*
- * Copyright © 2007-2018 by Apple Inc.
+ * Copyright © 2007-2019 by Apple Inc.
* Copyright © 1997-2007 by Easy Software Products.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
@@ -44,10 +44,10 @@
*/
#ifdef __APPLE__
-# if !TARGET_OS_IOS
+# if HAVE_SCDYNAMICSTORECOPYCOMPUTERNAME
# include <SystemConfiguration/SystemConfiguration.h>
# define _CUPS_LOCATION_DEFAULTS 1
-# endif /* !TARGET_OS_IOS */
+# endif /* HAVE_SCDYNAMICSTORECOPYCOMPUTERNAME */
# define kCUPSPrintingPrefs CFSTR("org.cups.PrintingPrefs")
# define kDefaultPaperIDKey CFSTR("DefaultPaperID")
# define kLastUsedPrintersKey CFSTR("LastUsedPrinters")