From a32ef4b97af8ab9d47f164f0f89e0f3e9d76ec54 Mon Sep 17 00:00:00 2001 From: Thomas Perl Date: Sun, 16 Apr 2017 23:32:55 +0200 Subject: [PATCH] Avoid redirection of main() on macOS --- src/archivetool.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/archivetool.cc b/src/archivetool.cc index 69b9a8e..169ff6d 100644 --- a/src/archivetool.cc +++ b/src/archivetool.cc @@ -220,6 +220,8 @@ ArchiveTool::usage() return 1; } +#undef main + int main(int argc, char **argv) { -- 2.11.4.GIT