Closed gxalpha closed 2 years ago
Might be good to fix the #ifs to #if defined() while we're at it.
@notr1ch that would be defined(_WIN32)
or ifdef _WIN32
then, right?
(I don't have a windows build environment so I'm a little hesitant to touch this)
Yeah, #if
tests a constant value, #if defined(xx)
tests if xx is defined. Given many build environments simply pass -DVARIABLE
and not -DVARIABLE=1
, testing with #if
can produce wrong results.
And yes it should also be _WIN32
not WIN32
.
Verified this builds on Windows and Linux.
Description
Removes an unneeded import.
Motivation and Context
025ab52 removed QMacCocoaViewContainer, but not the
#include
. However, the that isn't needed anymore.How Has This Been Tested?
Still compiles on macOS (12.0.1).
Types of changes
Checklist: