Replace __WINDOWS__ by _WIN32

Replace the SDL2-specific preprocessor macro __WINDOWS__ by the
"standard" _WIN32 macro.
This commit is contained in:
Romain Vimont
2025-07-10 23:01:05 +02:00
parent 0522d02d40
commit eb576c44f8
2 changed files with 6 additions and 6 deletions

View File

@@ -225,7 +225,7 @@ sc_screen_render_novideo(struct sc_screen *screen) {
(void) res; // any error already logged
}
#if defined(__APPLE__) || defined(__WINDOWS__)
#if defined(__APPLE__) || defined(_WIN32)
# define CONTINUOUS_RESIZING_WORKAROUND
#endif