Fix namespace in Windows-specific macros

This commit is contained in:
Martchus 2019-06-20 22:55:29 +02:00
parent e71d54d93f
commit f098a83a18
1 changed files with 2 additions and 2 deletions

View File

@ -22,9 +22,9 @@ bool CPP_UTILITIES_EXPORT confirmPrompt(const char *message, Response defaultRes
#ifdef PLATFORM_WINDOWS #ifdef PLATFORM_WINDOWS
void CPP_UTILITIES_EXPORT startConsole(); void CPP_UTILITIES_EXPORT startConsole();
std::pair<std::vector<std::unique_ptr<char[]>>, std::vector<char *>> CPP_UTILITIES_EXPORT convertArgsToUtf8(); std::pair<std::vector<std::unique_ptr<char[]>>, std::vector<char *>> CPP_UTILITIES_EXPORT convertArgsToUtf8();
#define CMD_UTILS_START_CONSOLE ::ApplicationUtilities::startConsole(); #define CMD_UTILS_START_CONSOLE ::CppUtilities::startConsole();
#define CMD_UTILS_CONVERT_ARGS_TO_UTF8 \ #define CMD_UTILS_CONVERT_ARGS_TO_UTF8 \
auto utf8Args = ::ApplicationUtilities::convertArgsToUtf8(); \ auto utf8Args = ::CppUtilities::convertArgsToUtf8(); \
argv = utf8Args.second.data(); \ argv = utf8Args.second.data(); \
argc = static_cast<int>(utf8Args.second.size()); argc = static_cast<int>(utf8Args.second.size());
#else #else