mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
Allow devices to be selectively included per platform
This way a platform does not have to be 100% implemented to be useful
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#ifndef __DEVICES_H_
|
||||
#define __DEVICES_H_
|
||||
|
||||
#if defined _WIN32
|
||||
#include "platform/windows/include/devices.h"
|
||||
#elif defined __linux__
|
||||
#include "platform/linux/include/devices.h"
|
||||
#else
|
||||
#error "This platform is not supported by the devices driver, please add a definition!"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user