]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/main.c
Merge changes from CUPS 1.4svn-r8162.
[thirdparty/cups.git] / scheduler / main.c
index 6f9902441d8f17ffe09fc9fe85f5c504e11e6789..afbf149e241b469fb656a871082dc7eaa44b1dc1 100644 (file)
@@ -1175,8 +1175,7 @@ main(int  argc,                           /* I - Number of command-line args */
     krb5_free_context(KerberosContext);
 #endif /* HAVE_GSSAPI */
 
-#ifdef __APPLE__
-#ifdef HAVE_DLFCN_H
+#if defined(__APPLE__) && defined(HAVE_DLFCN_H)
  /* 
   * Unload Print Service quota enforcement library (X Server only) 
   */
@@ -1187,8 +1186,7 @@ main(int  argc,                           /* I - Number of command-line args */
     dlclose(PSQLibRef);
     PSQLibRef = NULL;
   }
-#endif /* HAVE_DLFCN_H */
-#endif /* __APPLE__ */
+#endif /* __APPLE__ && HAVE_DLFCN_H */
 
 #ifdef __sgi
  /*