1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-20 14:55: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:
jtaylor2 2015-10-31 10:22:11 -04:00
parent 8b419770e2
commit dcebac87b9

View file

@ -53,7 +53,7 @@ void registerSimulators()
if (!simulatorsFound) {
#if defined(__APPLE__)
dir = QLibraryInfo::location(QLibraryInfo::PrefixPath) + "/Resources";
#elif (!defined __GNUC__) || (defined __CYGWIN__)
#elif (!defined __GNUC__)
char name[MAX_PATH];
GetModuleFileName(NULL, name, MAX_PATH);
QString path(name);