diff --git a/widget/src/mac/nsDeviceContextSpecX.cpp b/widget/src/mac/nsDeviceContextSpecX.cpp index 8af6acac8bd..fda1b2973cc 100644 --- a/widget/src/mac/nsDeviceContextSpecX.cpp +++ b/widget/src/mac/nsDeviceContextSpecX.cpp @@ -312,6 +312,7 @@ LoadPrinterPlugin() Boolean result=false; FSSpec spec; +#ifndef XP_MACOSX // get the relative path for the essential files folder.. then load the printer plugin nsCOMPtr mozFile; nsCOMPtr directoryService(do_GetService(NS_DIRECTORY_SERVICE_CONTRACTID)); @@ -351,7 +352,7 @@ FSSpec spec; } } - +#endif return result; }