Skip to content

Commit

Permalink
Merge pull request #138 from aliaspider/master
Browse files Browse the repository at this point in the history
build fix for Wii-U.
  • Loading branch information
Kingcom committed Jun 19, 2018
2 parents 3a55cf3 + 0ff159a commit 2f9b41d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -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()
Expand Down
1 change: 1 addition & 0 deletions Core/ELF/ElfFile.cpp
Expand Up @@ -5,6 +5,7 @@
#include "Core/Misc.h"

#ifndef _WIN32
#include <strings.h>
#define _stricmp strcasecmp
#endif

Expand Down

0 comments on commit 2f9b41d

Please sign in to comment.