From 54f1b829fe53c48b82440e7c8482e2b6ca397995 Mon Sep 17 00:00:00 2001 From: "sra@google.com" Date: Sat, 18 Jul 2009 03:28:40 +0000 Subject: Code changes to get the code to compile under GCC. Courgette still only knows how to compress Windows x86 executables. But now you can compress them on linux. BUG=none TEST=none Review URL: http://codereview.chromium.org/149597 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21042 0039d316-1c4b-4281-b951-d872f2087c98 --- courgette/courgette_minimal_tool.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'courgette/courgette_minimal_tool.cc') 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"); -- cgit v1.1