Skip to content

Commit 224b799

Browse files
authored
Merge pull request #3699 from softins/os-unix
Default reported OS to Unix if not Linux (e.g. FreeBSD)
2 parents 8ddeace + c77d9d1 commit 224b799

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/util.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,8 +1115,10 @@ class COSUtil
11151115
return OT_I_OS;
11161116
#elif defined( Q_OS_ANDROID ) || defined( ANDROID )
11171117
return OT_ANDROID;
1118-
#else
1118+
#elif defined( Q_OS_LINUX )
11191119
return OT_LINUX;
1120+
#else
1121+
return OT_UNIX;
11201122
#endif
11211123
}
11221124
};

0 commit comments

Comments
 (0)