From 080d02e8d73787cecc0e6c347d28b73eaac09659 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sat, 10 Feb 2018 23:12:00 -0800 Subject: [PATCH] Wii: Fix build on modern dkPPC --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f1e9769e..609178322 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -311,7 +311,7 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL "Generic") check_function_exists(uselocale HAVE_USELOCALE) check_function_exists(setlocale HAVE_SETLOCALE) else() - if(DEFINED 3DS) + if(DEFINED 3DS OR DEFINED WII) check_function_exists(snprintf_l HAVE_SNPRINTF_L) check_function_exists(strtof_l HAVE_STRTOF_L) check_function_exists(newlocale HAVE_NEWLOCALE)