mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Change #if-ery to be more in line with cmake logic (LINUX = NOT WIN32 AND NOT APPLE)
This commit is contained in:
@@ -63,10 +63,10 @@ void finish();
|
||||
} // namespace ThirdParty
|
||||
} // namespace Platform
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
#include "platform/mac/specific_mac.h"
|
||||
#elif defined Q_OS_UNIX // Q_OS_MAC
|
||||
#include "platform/linux/specific_linux.h"
|
||||
#elif defined Q_OS_WIN // Q_OS_MAC || Q_OS_UNIX
|
||||
#ifdef Q_OS_WIN
|
||||
#include "platform/win/specific_win.h"
|
||||
#endif // Q_OS_MAC || Q_OS_UNIX || Q_OS_WIN
|
||||
#elif defined Q_OS_MAC // Q_OS_WIN
|
||||
#include "platform/mac/specific_mac.h"
|
||||
#else // Q_OS_WIN || Q_OS_MAC
|
||||
#include "platform/linux/specific_linux.h"
|
||||
#endif // else for Q_OS_WIN || Q_OS_MAC
|
||||
|
Reference in New Issue
Block a user