1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge pull request #4381

Yuri (1):
      fix(macro): Fixed clang warning about USING_V4L
This commit is contained in:
Diadlo 2017-05-08 23:40:48 +03:00
commit a913f150e1
No known key found for this signature in database
GPG Key ID: 5AF9F2E29107C727

View File

@ -28,7 +28,11 @@ extern "C" {
#include "cameradevice.h"
#include "src/persistence/settings.h"
#define USING_V4L defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
#define USING_V4L 1
#else
#define USING_V4L 0
#endif
#ifdef Q_OS_WIN
#include "src/platform/camera/directshow.h"