Fix linux/macos build

This commit is contained in:
Oleg Korshul
2023-04-28 19:33:15 +03:00
parent 73924f3ae0
commit 0b683226e9
3 changed files with 1 additions and 13 deletions

View File

@ -18,14 +18,7 @@ DEFINES += GRAPHICS_USE_DYNAMIC_LIBRARY
ADD_DEPENDENCY(graphics, kernel, UnicodeConverter)
core_windows {
DEFINES += \
JAS_WIN_MSVC_BUILD \
WIN32
DEFINES -= UNICODE
DEFINES -= _DEBUG
message(windows)
LIBS += -lAdvapi32
LIBS += -lShell32

View File

@ -33,11 +33,8 @@
#include <iostream>
#include <map>
#include <iomanip>
#include <filesystem>
#ifdef WIN32
#include <locale.h>
#endif
#include "help.h"
#include "../common/File.h"
@ -777,9 +774,7 @@ int wmain(int argc, wchar_t** argv)
int main(int argc, char** argv)
#endif
{
#ifdef _WIN32
setlocale(LC_ALL, "");
#endif
CPluginsManager oManager;

View File

@ -15,7 +15,7 @@ TARGET = pluginsmanager
DEFINES += KERNEL_USE_DYNAMIC_LIBRARY
ADD_DEPENDENCY(kernel, kernel_network)
ADD_DEPENDENCY(kernel, kernel_network, UnicodeConverter)
core_windows {
DEFINES += \