Skip to content

Commit

Permalink
Fix build errors on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
tustanivsky committed Dec 20, 2024
1 parent 2b78ddb commit 5daa3a6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,11 @@ void SentrySubsystemDesktop::InitWithSettings(const USentrySettings* settings, U

if (settings->AttachGpuDump)
{
#if PLATFORM_WINDOWS
sentry_options_add_attachmentw(options, *GetGpuDumpBackupPath());
#elif PLATFORM_LINUX
sentry_options_add_attachment(options, TCHAR_TO_UTF8(*GetGpuDumpBackupPath()));
#endif
}

if(settings->UseProxy)
Expand Down

0 comments on commit 5daa3a6

Please sign in to comment.