#define UMA_USE_8_6 1
#endif
-#if defined(__POWERPC__) || defined(__APPLE__)
+#if defined(__POWERPC__)
#define UMA_USE_APPEARANCE 1
#define UMA_USE_WINDOWMGR 1
- #if defined(__APPLE__)
+ #if defined(__DARWIN__)
#include <Carbon/Carbon.h>
#endif
#else
void UMAShowWatchCursor() ;
void UMAShowArrowCursor() ;
-#if PM_USE_SESSION_APIS
-OSStatus UMAPrOpen(PMPrintSession *macPrintPort) ;
-OSStatus UMAPrClose(PMPrintSession *macPrintPort) ;
+#if TARGET_CARBON && PM_USE_SESSION_APIS
+OSStatus UMAPrOpen(PMPrintSession *macPrintSession) ;
+OSStatus UMAPrClose(PMPrintSession *macPrintSession) ;
#else
OSStatus UMAPrOpen() ;
OSStatus UMAPrClose() ;