Non-windows linkage fixes

This commit is contained in:
Jack Andersen 2016-06-15 17:30:04 -10:00
parent f69af0e9af
commit 797908a126
2 changed files with 3 additions and 5 deletions

View File

@ -83,5 +83,5 @@ if(TARGET boo)
# Multi-platform CLI tool
add_executable(amuseplay WIN32 driver/main.cpp)
target_link_libraries(amuseplay amuse boo ${BOO_SYS_LIBS} Shlwapi logvisor athena-core ${ZLIB_LIBRARIES})
target_link_libraries(amuseplay amuse boo ${BOO_SYS_LIBS} logvisor athena-core ${ZLIB_LIBRARIES})
endif()

View File

@ -37,14 +37,12 @@ namespace amuse
# endif
#endif
#if _WIN32
static inline int CompareCaseInsensitive(const char* a, const char* b)
{
#if _WIN32
return _stricmp(a, b);
#else
return strcasecmp(a, b);
#endif
}
#endif
static inline int CompareCaseInsensitive(const SystemChar* a, const SystemChar* b)
{