Skip to content

Commit b9274fc

Browse files
committed
xrSound: fix Windows linkage with eax.lib
1 parent 36c6bcb commit b9274fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/xrSound/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ list(REMOVE_ITEM ${PROJECT_NAME}__SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/./MusicSt
2020
list(REMOVE_ITEM ${PROJECT_NAME}__INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/./xr_cda.h")
2121
list(REMOVE_ITEM ${PROJECT_NAME}__INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/./MusicStream.h")
2222

23-
23+
add_definitions(-DXRSOUND_EXPORTS -DdSINGLE -D_SECURE_SCL=0)
2424
add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}__SOURCES} ${${PROJECT_NAME}__INCLUDES})
2525

2626
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")

src/xrSound/guids.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#pragma hdrstop
22

33
#define INITGUID
4-
#if defined(WINDOWS)
4+
#if defined(_WIN32)
55
#include <dsound.h>
66
#include <eax/eax.h>
77
#endif

0 commit comments

Comments
 (0)