Closed RicoP closed 3 years ago
I don’t think that will be possible, the leanandmean flag is used to strip away some headers from the windows.h file, and my code needs some of those symbols. As a workaround, I suggest putting an #undef WIN32_LEAN_AND_MEAN at the top of your dos.c file.
Personally, I find that using WIN32_LEAN_AND_MEAN, while useful in the past, does not make much of a difference these days - last time I checked, the difference in compile time was negligible.
results in
I use the WIN32_LEAN_AND_MEAN define globally and it would be nice if dos.h could handle that.