Merge 39efadcb6b
into ead439335e
This commit is contained in:
commit
5056070dcf
|
@ -277,3 +277,4 @@ target_include_directories(${EXECUTABLE_NAME} PRIVATE ${ZLIB_INCLUDE_DIRS})
|
|||
|
||||
target_link_libraries(${EXECUTABLE_NAME} ${SDL2_LIBRARIES})
|
||||
target_include_directories(${EXECUTABLE_NAME} PRIVATE ${SDL2_INCLUDE_DIRS})
|
||||
add_definitions(-DSDL_MAIN_HANDLED)
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include <windows.h>
|
||||
|
||||
#include <mmreg.h>
|
||||
#include <mmsystem.h>
|
||||
|
||||
#define DIRECTSOUND_VERSION 0x0300
|
||||
#include <dsound.h>
|
||||
|
|
|
@ -83,7 +83,7 @@ bool fileFindNext(DirectoryFileFindData* findData)
|
|||
// 0x4E63CC
|
||||
bool findFindClose(DirectoryFileFindData* findData)
|
||||
{
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_WIN32)
|
||||
FindClose(findData->hFind);
|
||||
#else
|
||||
if (findData->dir != NULL) {
|
||||
|
|
Loading…
Reference in New Issue