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:
commit
a913f150e1
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user