VirtualBox

Changeset 107946 in vbox for trunk/src/libs


Ignore:
Timestamp:
Jan 27, 2025 4:40:35 PM (3 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167193
Message:

libs/dxvk-2.3.1: Replace PATH_MAX with RTPATH_MAX, hopefully fixes compile error on Windows, bugref:10813

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/dxvk-2.3.1/src/util/util_env.cpp

    r107936 r107946  
    1010
    1111#ifdef VBOX
     12# include <iprt/param.h> /*RTPATH_MAX*/
    1213# include <iprt/process.h>
    1314#endif
     
    7778  std::string getExePath() {
    7879#ifdef VBOX
    79     std::array<char, PATH_MAX> exePath = {};
     80    std::array<char, RTPATH_MAX> exePath = {};
    8081    if (!RTProcGetExecutablePath(exePath.data(), exePath.size()))
    8182      return std::string("");
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette