mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-20 23:05:09 +03:00
Remove __CYGWIN__ from Issue 3012 Windows pathing fix because Cygwin
uses posix pathing and not Windows pathing.
This commit is contained in:
parent
8b419770e2
commit
dcebac87b9
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ void registerSimulators()
|
||||||
if (!simulatorsFound) {
|
if (!simulatorsFound) {
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
dir = QLibraryInfo::location(QLibraryInfo::PrefixPath) + "/Resources";
|
dir = QLibraryInfo::location(QLibraryInfo::PrefixPath) + "/Resources";
|
||||||
#elif (!defined __GNUC__) || (defined __CYGWIN__)
|
#elif (!defined __GNUC__)
|
||||||
char name[MAX_PATH];
|
char name[MAX_PATH];
|
||||||
GetModuleFileName(NULL, name, MAX_PATH);
|
GetModuleFileName(NULL, name, MAX_PATH);
|
||||||
QString path(name);
|
QString path(name);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue