Permalink
Browse files

build fix for Wii-U.

  • Loading branch information...
aliaspider committed Jun 19, 2018
1 parent 3a55cf3 commit 0ff159a1c47258acf8eec8d0cf945b02404bd1c4
Showing with 3 additions and 2 deletions.
  1. +2 −2 CMakeLists.txt
  2. +1 −0 Core/ELF/ElfFile.cpp
@@ -4,8 +4,8 @@ project(armips)
option(ARMIPS_REGEXP "Enable regexp expression functions" ON)
if (${CMAKE_CXX_COMPILER_ID} MATCHES "GNU|Clang")
if(${CMAKE_SYSTEM_NAME} MATCHES "Haiku")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -lpthread -std=c++11 -Wno-uninitialized")
if(${CMAKE_SYSTEM_NAME} MATCHES "Haiku" OR WIIU)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-uninitialized")
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -std=c++11 -Wno-uninitialized")
endif()
@@ -5,6 +5,7 @@
#include "Core/Misc.h"
#ifndef _WIN32
#include <strings.h>
#define _stricmp strcasecmp
#endif

0 comments on commit 0ff159a

Please sign in to comment.