Works now with Windows Visual Studio C++ too
[owTools.git] / src / owTools.h
index 68b5b3a..b4a942c 100755 (executable)
 #ifndef __OWTOOLS_H_
 #define __OWTOOLS_H_
 
+#if defined(_WINDOWS) || defined(__WINDOWS__) || defined(_WIN32) || defined(WIN32)
+#define WIN
+#else
+#define LINUX
+#endif
+
+
+
 #include "owInterface.h"
+#include "owARDUINOInterface.h"
+#ifdef WIN
+#include "owTMEXWIN.h"
+#endif
+
+#ifdef LINUX
 #include "owUSBInterface.h"
 #include "owCOMInterface.h"
 #include "owPiGPioInterface.h"
-#include "owARDUINOInterface.h"
+#endif
 #endif