diff --git a/browser/base/Makefile.in b/browser/base/Makefile.in
index 6f6d247c84cb..a8bd27ea216c 100644
--- a/browser/base/Makefile.in
+++ b/browser/base/Makefile.in
@@ -67,6 +67,10 @@ ifneq (,$(filter windows gtk2 mac cocoa, $(MOZ_WIDGET_TOOLKIT)))
DEFINES += -DHAVE_SHELL_SERVICE=1
endif
+ifdef MOZ_UPDATER
+DEFINES += -DMOZ_UPDATER=1
+endif
+
ifneq (,$(filter mac cocoa, $(MOZ_WIDGET_TOOLKIT)))
DEFINES += -DTOOLBAR_CUSTOMIZATION_SHEET
endif
diff --git a/browser/base/content/baseMenuOverlay.xul b/browser/base/content/baseMenuOverlay.xul
index 95c83ae52f91..acbbe9419636 100644
--- a/browser/base/content/baseMenuOverlay.xul
+++ b/browser/base/content/baseMenuOverlay.xul
@@ -98,11 +98,13 @@
oncommand="openReleaseNotes(event)"
onclick="checkForMiddleClick(this, event);"/>
+#ifdef MOZ_UPDATER
+#endif
+#ifdef MOZ_UPDATER
-
-
-
@@ -102,7 +99,11 @@
+#endif
+
+
@@ -267,10 +268,12 @@
+#ifdef MOZ_UPDATER
+#endif
+#ifdef MOZ_UPDATER
@@ -309,6 +313,7 @@
preference="app.update.disable_button.showUpdateHistory"
oncommand="gAdvancedPane.showUpdates();"/>
+#endif