summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Source/UnitTests/Core/PatchAllowlistTest.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/UnitTests/Core/PatchAllowlistTest.cpp b/Source/UnitTests/Core/PatchAllowlistTest.cpp
index c2b6be61e6..85111fb607 100644
--- a/Source/UnitTests/Core/PatchAllowlistTest.cpp
+++ b/Source/UnitTests/Core/PatchAllowlistTest.cpp
@@ -1,6 +1,8 @@
// Copyright 2024 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
+#ifdef USE_RETRO_ACHIEVEMENTS
+
#include <array>
#include <map>
#include <string>
@@ -191,3 +193,5 @@ void ReadVerified(const Common::IniFile& ini, const std::string& filename,
}
}
}
+
+#endif // USE_RETRO_ACHIEVEMENTS