CtrlCore: Fixed to compile with Visual C++ and in Wine

This commit is contained in:
Mirek Fidler 2022-03-03 09:46:42 +01:00
parent 4ede88be20
commit 773bc377b6
3 changed files with 4 additions and 2 deletions

View file

@ -6,7 +6,7 @@ uses
RichText,
Painter;
library(WIN32) "advapi32 comdlg32 comctl32 Imm32 user32 gdi32";
library(WIN32) "advapi32 comdlg32 comctl32 imm32 user32 gdi32";
pkg_config(POSIX !OSX !VIRTUALGUI) "freetype2 x11 xinerama xrender xft xdmcp fontconfig xcb xext";

View file

@ -4,7 +4,7 @@
#include <winnls.h>
//#include "imm.h"
#include <imm.h>
namespace Upp {

View file

@ -2,6 +2,8 @@
#ifdef GUI_WIN
#include <imm.h>
namespace Upp {
#define LLOG(x) // DLOG(x)