From 0e738e8cc53ccc11e5392154db8fbdb2d5beaf4b 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 57dee4b56..e17dbf0a0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -317,7 +317,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)