summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2026-04-04 07:00:33 +1100
committer Vas Crabb <vas@vastheman.com>2026-04-04 07:00:33 +1100
commit21defbea953c36bba6eeec5ea6f7cf6d3cd310d8 (patch)
tree985b9d68054a7cbd32ce30b2c76931119a857bb9 /src/tools
parentc48a110ac09bd62637d98d5906b74ea00ceb58ab (diff)
Fix up more stuff for upgraded tools, etc.
docs: It's no longer possible to get a working Qt 5 setup with MSYS2, and there's no 32-bit Qt 6 package. Updated docs to reflect this. Use Qt 6 on Windows, use qmake to find moc. Fixed linking on Windows with static SDL3. input/input_dinput.cpp: Support SDL3.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/testkeys.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/testkeys.cpp b/src/tools/testkeys.cpp
index c0f39aed09d..2827b93107b 100644
--- a/src/tools/testkeys.cpp
+++ b/src/tools/testkeys.cpp
@@ -9,16 +9,16 @@
//
//============================================================
-#ifdef SDLMAME_SDL3
+#if defined(SDLMAME_SDL3)
#include <SDL3/SDL.h>
#include <SDL3/SDL_main.h>
-#endif
+#endif // defined(SDLMAME_SDL3)
#include "osdcore.h"
-#ifndef SDLMAME_SDL3
+#if !defined(SDLMAME_SDL3)
#include "SDL2/SDL.h"
-#endif
+#endif // !defined(SDLMAME_SDL3)
#include <iostream>
#include <string>