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:
Paul Hollinsky
2018-09-20 13:21:54 -04:00
parent 30327dd12d
commit fb4a327891
4 changed files with 82 additions and 12 deletions
+12
View File
@@ -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