Commit 36653c4e authored by Marvin Scholz's avatar Marvin Scholz Committed by Hugo Beauzée-Luyssen

DeviceListerFactory: Fix macOS check

parent 57acb6c4
Pipeline #17354 passed with stage
in 25 minutes and 33 seconds
......@@ -35,9 +35,12 @@
# if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
# define USE_BUILTIN_DEVICE_LISTER 1
# endif
#elif TARGET_OS_MAC
# include "filesystem/darwin/DeviceLister.h"
# define USE_BUILTIN_DEVICE_LISTER 1
#elif __APPLE__
# include <TargetConditionals.h>
# if !TARGET_OS_IPHONE
# include "filesystem/darwin/DeviceLister.h"
# define USE_BUILTIN_DEVICE_LISTER 1
# endif
#endif
medialibrary::DeviceListerPtr medialibrary::factory::createDeviceLister()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment