summaryrefslogtreecommitdiff
path: root/cli/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-12-13 10:32:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-12-13 10:32:44 +0200
commit47a0fa12397770ea49ea80f164dba8e0f82e97d1 (patch)
tree588f490b282c79df2396432bfe0e8ede7509c4b1 /cli/makefile
parent9284f891fd2b15c25d7107d77c9bce100054fe3d (diff)
Mark 'stdout' as a reserved name
On some platforms (e.g., Windows/VC++ 8.0) stdout is a macro.
Diffstat (limited to 'cli/makefile')
-rw-r--r--cli/makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/makefile b/cli/makefile
index 7320630..db4281a 100644
--- a/cli/makefile
+++ b/cli/makefile
@@ -64,7 +64,8 @@ genf := $(cli_tun:.cli=.hxx) $(cli_tun:.cli=.ixx) $(cli_tun:.cli=.cxx)
gen := $(addprefix $(out_base)/,$(genf))
$(gen): cli := $(out_root)/cli/cli
-$(gen): cli_options := --generate-file-scanner --guard-prefix CLI
+$(gen): cli_options := --generate-file-scanner --guard-prefix CLI \
+--reserved-name stdout
$(call include-dep,$(cxx_od),$(cxx_obj),$(gen))