diff --git a/content/html/content/src/makefile.win b/content/html/content/src/makefile.win
index 12e04a73189e..bb72d5cae8c8 100644
--- a/content/html/content/src/makefile.win
+++ b/content/html/content/src/makefile.win
@@ -172,6 +172,9 @@ LINCS=-I$(PUBLIC)\xpcom -I$(PUBLIC)\raptor -I$(PUBLIC)\js \
-I$(PUBLIC)\plugin -I$(PUBLIC)\oji -I$(PUBLIC)\java
LCFLAGS = \
+!if "$(MOZ_ENDER_LITE)"=="1"
+ -DENDER_LITE \
+!endif
$(LCFLAGS) \
$(DEFINES) \
$(NULL)
diff --git a/layout/html/content/src/makefile.win b/layout/html/content/src/makefile.win
index 12e04a73189e..bb72d5cae8c8 100644
--- a/layout/html/content/src/makefile.win
+++ b/layout/html/content/src/makefile.win
@@ -172,6 +172,9 @@ LINCS=-I$(PUBLIC)\xpcom -I$(PUBLIC)\raptor -I$(PUBLIC)\js \
-I$(PUBLIC)\plugin -I$(PUBLIC)\oji -I$(PUBLIC)\java
LCFLAGS = \
+!if "$(MOZ_ENDER_LITE)"=="1"
+ -DENDER_LITE \
+!endif
$(LCFLAGS) \
$(DEFINES) \
$(NULL)