Skip to content

Commit 04ed52f

Browse files
committed
xrSound: fix travis-ci build #2
1 parent 907e8d8 commit 04ed52f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/Common/PlatformLinux.inl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ inline int _filelength(int fd)
241241
#define __max(a, b) std::max(a, b)
242242
#define __min(a, b) std::min(a, b)
243243

244-
#define xr_itoa SDL_itoa
244+
#define itoa SDL_itoa
245245

246246
#define ZeroMemory(p, sz) memset((p), 0, (sz))
247247
#define CopyMemory(d, s, n) memcpy(d, s, n)
@@ -256,4 +256,4 @@ inline int _filelength(int fd)
256256
#define _MAX_DRIVE 3
257257
#define _MAX_DIR 256
258258
#define _MAX_FNAME 256
259-
#define _MAX_EXT 256
259+
#define _MAX_EXT 256

src/xrSound/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ list(REMOVE_ITEM ${PROJECT_NAME}__INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/./MusicS
2424
add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}__SOURCES} ${${PROJECT_NAME}__INCLUDES})
2525

2626
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
27-
target_link_libraries(${PROJECT_NAME} xrCore ogg vorbis vorbisfile openal xrAPI xrCDB)
27+
#target_link_libraries(${PROJECT_NAME} xrCore ogg vorbis vorbisfile openal xrAPI xrCDB)
28+
target_link_libraries(${PROJECT_NAME} xrCore xrAPI xrCDB)

0 commit comments

Comments
 (0)