tm3d
/
owTools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Works now with Windows Visual Studio C++ too
[owTools.git]
/
src
/
owTools.h
diff --git
a/src/owTools.h
b/src/owTools.h
index
68b5b3a
..
b4a942c
100755
(executable)
--- a/
src/owTools.h
+++ b/
src/owTools.h
@@
-35,9
+35,23
@@
#ifndef __OWTOOLS_H_
#define __OWTOOLS_H_
#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 "owInterface.h"
+#include "owARDUINOInterface.h"
+#ifdef WIN
+#include "owTMEXWIN.h"
+#endif
+
+#ifdef LINUX
#include "owUSBInterface.h"
#include "owCOMInterface.h"
#include "owPiGPioInterface.h"
#include "owUSBInterface.h"
#include "owCOMInterface.h"
#include "owPiGPioInterface.h"
-#
include "owARDUINOInterface.h"
+#
endif
#endif
#endif