]>
Commit | Line | Data |
---|---|---|
f67539c2 TL |
1 | // |
2 | // Copyright (c) 2019 Alexander Grund | |
3 | // | |
4 | // Distributed under the Boost Software License, Version 1.0. (See | |
20effc67 | 5 | // accompanying file LICENSE or copy at |
f67539c2 TL |
6 | // http://www.boost.org/LICENSE_1_0.txt) |
7 | // | |
8 | ||
9 | #include <boost/nowide/args.hpp> | |
10 | #include <boost/nowide/convert.hpp> | |
11 | ||
12 | int main(int argc, char** argv, char** env) | |
13 | { | |
14 | boost::nowide::args _(argc, argv, env); | |
15 | if(argc < 1) | |
16 | return 1; | |
17 | if(boost::nowide::narrow(boost::nowide::widen(argv[0])) != argv[0]) | |
18 | return 1; | |
19 | return 0; | |
20 | } |