int gPrOpenCounter = 0 ;
-#if !TARGET_CARBON
-OSStatus UMAPrOpen()
-#else
+#if PM_USE_SESSION_APIS
OSStatus UMAPrOpen(PMPrintSession *macPrintPort)
+#else
+OSStatus UMAPrOpen()
#endif
{
#if !TARGET_CARBON
#endif
}
-#if !TARGET_CARBON
-OSStatus UMAPrClose()
-#else
+#if PM_USE_SESSION_APIS
OSStatus UMAPrClose(PMPrintSession *macPrintPort)
+#else
+OSStatus UMAPrClose()
#endif
{
#if !TARGET_CARBON