fix names for msvc compile

This commit is contained in:
Hay1tsme
2024-12-23 15:41:25 -05:00
parent 127d93b052
commit b0fc9a200a
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -13,7 +13,6 @@ add_project_arguments(
'-DWIN32_LEAN_AND_MEAN',
'-D_WIN32_WINNT=_WIN32_WINNT_WIN7',
'-DMINGW_HAS_SECURE_API=1',
'-Wno-unused',
language: 'c',
)
@@ -21,6 +20,7 @@ add_project_arguments(
if meson.get_compiler('c').get_id() != 'msvc'
add_project_arguments(
'-ffunction-sections',
'-Wno-unused',
'-fdata-sections',
language: 'c',
)
+2 -2
View File
@@ -49,7 +49,7 @@ exit /b
)
pushd %BUILD_DIR_64%
msbuild /m /p:Configuration=release /p:Platform=x64 segatools.sln
msbuild /m /p:Configuration=release /p:Platform=x64 taitools.sln
popd
)
@@ -63,7 +63,7 @@ exit /b
)
pushd %BUILD_DIR_32%
msbuild /m /p:Configuration=release /p:Platform=Win32 segatools.sln
msbuild /m /p:Configuration=release /p:Platform=Win32 taitools.sln
popd
)
+1 -1
View File
@@ -25,7 +25,7 @@ uint16_t siva_io_get_api_version(void)
HRESULT siva_io_init(void)
{
wchar_t ri_dev_name[PATH_MAX] = L"\0";
wchar_t ri_dev_name[MAX_PATH] = L"\0";
UINT num_ri_devs = 0;
UINT len_ri_dev_name = 0;
DWORD err = 0;