summaryrefslogtreecommitdiffstats
path: root/courgette/courgette_minimal_tool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'courgette/courgette_minimal_tool.cc')
-rw-r--r--courgette/courgette_minimal_tool.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/courgette/courgette_minimal_tool.cc b/courgette/courgette_minimal_tool.cc
index 84de068..2f99ca9 100644
--- a/courgette/courgette_minimal_tool.cc
+++ b/courgette/courgette_minimal_tool.cc
@@ -33,7 +33,11 @@ void Problem(const char* message) {
exit(1);
}
+#if defined(OS_WIN)
int wmain(int argc, const wchar_t* argv[]) {
+#else
+int main(int argc, const char* argv[]) {
+#endif
if (argc != 4)
UsageProblem("bad args");