fix: windows parsing

This commit is contained in:
2026-03-16 17:41:45 +04:00
parent 8befc60016
commit 182974d61a
6 changed files with 95 additions and 31 deletions

View File

@@ -8,16 +8,28 @@
namespace argument_parser {
using parser = linux_parser;
}
namespace argument_parser::v2 {
using parser = linux_parser;
}
#elif __APPLE__
#include <macos_parser.hpp>
namespace argument_parser {
using parser = macos_parser;
}
namespace argument_parser::v2 {
using parser = macos_parser;
}
#elif _WIN32
#include <windows_parser.hpp>
namespace argument_parser {
using parser = windows_parser;
}
namespace argument_parser::v2 {
using parser = windows_parser;
}
#else
#error "Unsupported platform"
#endif