Skip to content

Commit

Permalink
ifdef windows unicode version of main
Browse files Browse the repository at this point in the history
  • Loading branch information
aleks-f committed Oct 17, 2017
1 parent 4bc6ff0 commit 4a8d522
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Util/include/Poco/Util/Application.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class Util_API Application: public Subsystem
/// Note that as of release 1.3.7, init() no longer
/// calls initialize(). This is now called from run().

#if !defined(POCO_NO_WSTRING)
#if defined (POCO_OS_FAMILY_WINDOWS) && !defined(POCO_NO_WSTRING)
void init(int argc, wchar_t* argv[]);
/// Processes the application's command line arguments
/// and sets the application's properties (e.g.,
Expand Down
2 changes: 1 addition & 1 deletion Util/src/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ void Application::init(int argc, char* pArgv[])
}


#if !defined(POCO_NO_WSTRING)
#if defined (POCO_OS_FAMILY_WINDOWS) && !defined(POCO_NO_WSTRING)
void Application::init(int argc, wchar_t* argv[])
{
std::vector<std::string> args;
Expand Down

0 comments on commit 4a8d522

Please sign in to comment.