mirror of
https://github.com/sametersoylu/argument-parser.git
synced 2026-04-13 03:41:18 +00:00
fix: windows parsing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user