Answer the question
In order to leave comments, you need to log in
Macro definition change or conflict between defines?
I use pdcurses and Windows.h , but since and there and there is MOUSE_MOVED, then they conflict.
Visual Studio 2017 build output
1>d:\windows kits\10\include\10.0.17763.0\um\wincontypes.h(103): warning C4005: MOUSE_MOVED: изменение макроопределения
1>c:\users\emilia\desktop\vs\pdcursestest\include\curses.h(160): note: см. предыдущее определение "MOUSE_MOVED"
Answer the question
In order to leave comments, you need to log in
Decompose the project into DLLs and compile them: one for windows, one for ncurses.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question