Overzelous with the NS_PRINTING macro. Fixes/unbreaks non-wince non-printing builds. r=blassey
authordougt@meer.net
Fri, 22 Feb 2008 22:44:06 -0800
changeset 12132 1dc9799ebd2e8cdf4570ea0dad5b756eb7df7101
parent 12131 e72c024f28d4dd6b4d66a97feff3c4f4b1ecab42
child 12133 ed4255ba87daabcfdc0e90dc64d6c415f49c7df3
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersblassey
milestone1.9b4pre
Overzelous with the NS_PRINTING macro. Fixes/unbreaks non-wince non-printing builds. r=blassey
widget/src/build/nsWinWidgetFactory.cpp
--- a/widget/src/build/nsWinWidgetFactory.cpp
+++ b/widget/src/build/nsWinWidgetFactory.cpp
@@ -72,17 +72,17 @@
 
 NS_GENERIC_FACTORY_CONSTRUCTOR(nsWindow)
 NS_GENERIC_FACTORY_CONSTRUCTOR(ChildWindow)
 NS_GENERIC_FACTORY_CONSTRUCTOR(nsClipboard)
 NS_GENERIC_FACTORY_CONSTRUCTOR(nsClipboardHelper)
 NS_GENERIC_FACTORY_CONSTRUCTOR(nsNativeThemeWin)
 NS_GENERIC_FACTORY_CONSTRUCTOR(nsFilePicker)
 
-#ifdef NS_PRINTING
+#ifndef WINCE
 NS_GENERIC_FACTORY_CONSTRUCTOR(nsSound)
 NS_GENERIC_FACTORY_CONSTRUCTOR(nsDragService)
 NS_GENERIC_FACTORY_CONSTRUCTOR(nsBidiKeyboard)
 NS_GENERIC_FACTORY_CONSTRUCTOR(nsIdleServiceWin)
 #endif
 
 NS_GENERIC_FACTORY_CONSTRUCTOR(nsToolkit)
 NS_GENERIC_FACTORY_CONSTRUCTOR(nsLookAndFeel)