summaryrefslogtreecommitdiff
path: root/xcode/config.h
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 /xcode/config.h
parentf89270998d6656004f89085431591bb1b0b1326b (diff)
downloadcups-3c2cb8228e5a90fe93b938f55cfbfa538e313d40.tar.gz
Clean up some build issues on certain platforms.
Diffstat (limited to 'xcode/config.h')
-rw-r--r--xcode/config.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/xcode/config.h b/xcode/config.h
index 4fc686566..b8684d9d5 100644
--- a/xcode/config.h
+++ b/xcode/config.h
@@ -1,7 +1,7 @@
/*
* Configuration file for CUPS and Xcode.
*
- * Copyright 2007-2017 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 information.
@@ -323,9 +323,9 @@
* What Security framework headers do we have?
*/
-#if !TARGET_OS_IOS
+#if TARGET_OS_OSX
# define HAVE_AUTHORIZATION_H 1
-#endif /* !TARGET_OS_IOS */
+#endif /* TARGET_OS_OSX */
#define HAVE_SECCERTIFICATE_H 1
#define HAVE_SECITEM_H 1
@@ -336,9 +336,9 @@
* Do we have the SecGenerateSelfSignedCertificate function?
*/
-#if TARGET_OS_IOS
+#if !TARGET_OS_OSX
# define HAVE_SECGENERATESELFSIGNEDCERTIFICATE 1
-#endif /* TARGET_OS_IOS */
+#endif /* !TARGET_OS_OSX */
/*
@@ -493,18 +493,18 @@
* Do we have ApplicationServices public headers?
*/
-#if !TARGET_OS_IOS
+#if TARGET_OS_OSX
# define HAVE_APPLICATIONSERVICES_H 1
-#endif /* !TARGET_OS_IOS */
+#endif /* TARGET_OS_OSX */
/*
* Do we have the SCDynamicStoreCopyComputerName function?
*/
-#if !TARGET_OS_IOS
+#if TARGET_OS_OSX
# define HAVE_SCDYNAMICSTORECOPYCOMPUTERNAME 1
-#endif /* !TARGET_OS_IOS */
+#endif /* TARGET_OS_OSX */
/*
@@ -543,7 +543,7 @@
* Do we have the GSSAPI support library (for Kerberos support)?
*/
-#if !TARGET_OS_IOS
+#if TARGET_OS_OSX
# define HAVE_GSS_ACQUIRED_CRED_EX_F 1
# define HAVE_GSS_C_NT_HOSTBASED_SERVICE 1
# define HAVE_GSS_GSSAPI_H 1
@@ -551,7 +551,7 @@
# define HAVE_GSSAPI 1
/* #undef HAVE_GSSAPI_GSSAPI_H */
/* #undef HAVE_GSSAPI_H */
-#endif /* !TARGET_OS_IOS */
+#endif /* TARGET_OS_OSX */
/*
@@ -665,11 +665,11 @@
* Location of localization bundle, if any.
*/
-#if TARGET_OS_IOS
-# define CUPS_BUNDLEDIR "/System/Library/PrivateFrameworks/PrintKit.framework/Versions/A"
-#else
+#if TARGET_OS_OSX
# define CUPS_BUNDLEDIR "/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A"
-#endif /* TARGET_OS_IOS */
+#else
+# define CUPS_BUNDLEDIR "/System/Library/PrivateFrameworks/PrintKit.framework/Versions/A"
+#endif /* TARGET_OS_OSX */
/*