Merge pull request #1385 from richardg867/master

Fix build for MSVC
This commit is contained in:
Miran Grča
2021-04-18 08:20:37 +02:00
committed by GitHub
5 changed files with 8 additions and 6 deletions

View File

@@ -28,6 +28,8 @@ if(MSVC)
# file when using MSVC, so we might just as well do that!
target_compile_definitions(ui PRIVATE NO_INCLUDE_MANIFEST)
target_sources(86Box PRIVATE 86Box.manifest)
target_sources(plat PRIVATE win_opendir.c)
endif()
if(DINPUT)

View File

@@ -124,7 +124,7 @@ closedir(DIR *p)
* standard "." and ".." entries. Many applications do assume
* this anyway, so we simply fake these entries.
*/
struct direct *
struct dirent *
readdir(DIR *p)
{
FINDATA *ffp;