diff --git a/src/Common/PlatformLinux.inl b/src/Common/PlatformLinux.inl index b82ac5930b4..94efb9f0c39 100644 --- a/src/Common/PlatformLinux.inl +++ b/src/Common/PlatformLinux.inl @@ -241,7 +241,7 @@ inline int _filelength(int fd) #define __max(a, b) std::max(a, b) #define __min(a, b) std::min(a, b) -#define xr_itoa SDL_itoa +#define itoa SDL_itoa #define ZeroMemory(p, sz) memset((p), 0, (sz)) #define CopyMemory(d, s, n) memcpy(d, s, n) @@ -256,4 +256,4 @@ inline int _filelength(int fd) #define _MAX_DRIVE 3 #define _MAX_DIR 256 #define _MAX_FNAME 256 -#define _MAX_EXT 256 \ No newline at end of file +#define _MAX_EXT 256 diff --git a/src/xrSound/CMakeLists.txt b/src/xrSound/CMakeLists.txt index 2c0ad860d04..8be1c5a3aeb 100644 --- a/src/xrSound/CMakeLists.txt +++ b/src/xrSound/CMakeLists.txt @@ -24,4 +24,5 @@ list(REMOVE_ITEM ${PROJECT_NAME}__INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/./MusicS add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}__SOURCES} ${${PROJECT_NAME}__INCLUDES}) set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "") -target_link_libraries(${PROJECT_NAME} xrCore ogg vorbis vorbisfile openal xrAPI xrCDB) +#target_link_libraries(${PROJECT_NAME} xrCore ogg vorbis vorbisfile openal xrAPI xrCDB) +target_link_libraries(${PROJECT_NAME} xrCore xrAPI xrCDB)