Skip to content

Don't define Surface::Type::WIN32 if WIN32 is a preprocessor macro

Kjell Ahlstedt requested to merge kjellahl/surface-type-win32 into master

WIN32 can be a preprocessor macro. If it is, WIN32 can't be an enum constant. Deprecate Surface::Type::WIN32. Don't try to define it, if WIN32 is #define'd. Add Surface::Type::WIN32_SURFACE as a replacement.

See #26 (closed).

Merge request reports

Loading