We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36c6bcb commit b9274fcCopy full SHA for b9274fc
src/xrSound/CMakeLists.txt
@@ -20,7 +20,7 @@ list(REMOVE_ITEM ${PROJECT_NAME}__SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/./MusicSt
20
list(REMOVE_ITEM ${PROJECT_NAME}__INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/./xr_cda.h")
21
list(REMOVE_ITEM ${PROJECT_NAME}__INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/./MusicStream.h")
22
23
-
+add_definitions(-DXRSOUND_EXPORTS -DdSINGLE -D_SECURE_SCL=0)
24
add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}__SOURCES} ${${PROJECT_NAME}__INCLUDES})
25
26
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
src/xrSound/guids.cpp
@@ -1,7 +1,7 @@
1
#pragma hdrstop
2
3
#define INITGUID
4
-#if defined(WINDOWS)
+#if defined(_WIN32)
5
#include <dsound.h>
6
#include <eax/eax.h>
7
#endif
0 commit comments