> in Makefile, near line 304:
>
> Change
>
> EXTRAFLAGS = $DUNIX $DHAVE_POSIX_TERMIOS
>
> to
>
> EXTRAFLAGS =
>
> that's the line which blindly defines "-DUNIX -DHAVE_POSIX_TERMIOS".
> With this simple change, ttdebug cross-builds.
Good catch!
> I guess nobody have tried cross-compiling the freetype demos for
> windows for years, or building all the freetype demos for windows
> natively (i.e., with visual studio) ever - a few of visual studio
> projects are missing.
This is most likely a correct assumption – at least for `Makefile`.
Meson support, on the other hand, also builds `ttdebug`; maybe this
works already out of the box on Windows, too.
Werner