]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - xcode/config.h
Factor out generic 'HAVE_ONDEMAND' macro flag
[thirdparty/cups.git] / xcode / config.h
index e16c6667cbaa50488f07e09f363528926a79b041..a0c5c9b3d48c18fbae58441426943490ec701719 100644 (file)
@@ -733,4 +733,10 @@ static __inline int _cups_abs(int i) { return (i < 0 ? -i : i); }
 #  endif /* __GNUC__ || __STDC_VERSION__ */
 #endif /* !HAVE_ABS && !abs */
 
+#if defined(HAVE_LAUNCHD) || defined(HAVE_SYSTEMD)
+#  define HAVE_ONDEMAND
+#else
+#  undef HAVE_ONDEMAND
+#endif
+
 #endif /* !_CUPS_CONFIG_H_ */